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 /parameter/BinarySerializableElement.cpp | |
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 'parameter/BinarySerializableElement.cpp')
-rw-r--r-- | parameter/BinarySerializableElement.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/parameter/BinarySerializableElement.cpp b/parameter/BinarySerializableElement.cpp index 5beed15..744d140 100644 --- a/parameter/BinarySerializableElement.cpp +++ b/parameter/BinarySerializableElement.cpp @@ -41,8 +41,8 @@ CBinarySerializableElement::CBinarySerializableElement(const string& strName) : void CBinarySerializableElement::binarySerialize(CBinaryStream& binaryStream) { // Propagate - uint32_t uiNbChildren = getNbChildren(); - uint32_t uiChild; + size_t uiNbChildren = getNbChildren(); + size_t uiChild; for (uiChild = 0; uiChild < uiNbChildren; uiChild++) { @@ -53,12 +53,12 @@ void CBinarySerializableElement::binarySerialize(CBinaryStream& binaryStream) } // Data size -uint32_t CBinarySerializableElement::getDataSize() const +size_t CBinarySerializableElement::getDataSize() const { // Propagate - uint32_t uiDataSize = 0; - uint32_t uiNbChildren = getNbChildren(); - uint32_t uiChild; + size_t uiDataSize = 0; + size_t uiNbChildren = getNbChildren(); + size_t uiChild; for (uiChild = 0; uiChild < uiNbChildren; uiChild++) { |