diff options
author | Patrick Benavoli <patrick.benavoli@intel.com> | 2014-07-23 01:27:00 +0200 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2015-04-24 13:39:13 -0700 |
commit | 911844b16c6b627f421bc3368de427de3ca9f60c (patch) | |
tree | 223697b3ea168eca090cd06a673c7dbb7dea27de /remote-processor/RemoteCommandHandlerTemplate.h | |
parent | 9ad87f08eb4cfa8752f4b9e7b9deb3bd219ff591 (diff) | |
download | external_parameter-framework-911844b16c6b627f421bc3368de427de3ca9f60c.zip external_parameter-framework-911844b16c6b627f421bc3368de427de3ca9f60c.tar.gz external_parameter-framework-911844b16c6b627f421bc3368de427de3ca9f60c.tar.bz2 |
Type mismatch corrections (Windows 64 bits)
This patch removes the type mismatch warnings revealed by Windows 64
compiler. Wherever necessary, used size_t type for size related data.
Change-Id: Ie045ce95940cd83fe8d681168ac9526fc6028d43
Signed-off-by: Patrick Benavoli <patrick.benavoli@intel.com>
Diffstat (limited to 'remote-processor/RemoteCommandHandlerTemplate.h')
-rw-r--r-- | remote-processor/RemoteCommandHandlerTemplate.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/remote-processor/RemoteCommandHandlerTemplate.h b/remote-processor/RemoteCommandHandlerTemplate.h index fbfa059..0b7428d 100644 --- a/remote-processor/RemoteCommandHandlerTemplate.h +++ b/remote-processor/RemoteCommandHandlerTemplate.h @@ -190,7 +190,7 @@ private: const CRemoteCommandParserItem* pRemoteCommandParserItem = _remoteCommandParserVector[uiIndex]; - uint32_t uiRemoteCommandUsageLength = pRemoteCommandParserItem->usage().length(); + uint32_t uiRemoteCommandUsageLength = (uint32_t)pRemoteCommandParserItem->usage().length(); if (uiRemoteCommandUsageLength > _uiMaxCommandUsageLength) { @@ -220,7 +220,7 @@ private: strResult += strUsage; // Align - uint32_t uiToSpacesAdd = _uiMaxCommandUsageLength + 5 - strUsage.length(); + uint32_t uiToSpacesAdd = _uiMaxCommandUsageLength + 5 - (uint32_t)strUsage.length(); while (uiToSpacesAdd--) { |