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/ConfigurableElement.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/ConfigurableElement.cpp')
-rw-r--r-- | parameter/ConfigurableElement.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/parameter/ConfigurableElement.cpp b/parameter/ConfigurableElement.cpp index eb66dd8..754f207 100644 --- a/parameter/ConfigurableElement.cpp +++ b/parameter/ConfigurableElement.cpp @@ -49,8 +49,8 @@ CConfigurableElement::~CConfigurableElement() // XML configuration settings parsing bool CConfigurableElement::serializeXmlSettings(CXmlElement& xmlConfigurationSettingsElementContent, CConfigurationAccessContext& configurationAccessContext) const { - uint32_t uiIndex; - uint32_t uiNbChildren = getNbChildren(); + size_t uiIndex; + size_t uiNbChildren = getNbChildren(); if (!configurationAccessContext.serializeOut()) { // Just do basic checks and propagate to children @@ -174,8 +174,8 @@ void CConfigurableElement::getListOfElementsWithMapping( void CConfigurableElement::setDefaultValues(CParameterAccessContext& parameterAccessContext) const { // Propagate to children - uint32_t uiIndex; - uint32_t uiNbChildren = getNbChildren(); + size_t uiIndex; + size_t uiNbChildren = getNbChildren(); for (uiIndex = 0; uiIndex < uiNbChildren; uiIndex++) { @@ -200,8 +200,8 @@ void CConfigurableElement::setOffset(uint32_t uiOffset) _uiOffset = uiOffset; // Propagate to children - uint32_t uiIndex; - uint32_t uiNbChildren = getNbChildren(); + size_t uiIndex; + size_t uiNbChildren = getNbChildren(); for (uiIndex = 0; uiIndex < uiNbChildren; uiIndex++) { @@ -222,8 +222,8 @@ uint32_t CConfigurableElement::getOffset() const uint32_t CConfigurableElement::getFootPrint() const { uint32_t uiSize = 0; - uint32_t uiIndex; - uint32_t uiNbChildren = getNbChildren(); + size_t uiIndex; + size_t uiNbChildren = getNbChildren(); for (uiIndex = 0; uiIndex < uiNbChildren; uiIndex++) { @@ -270,8 +270,8 @@ void CConfigurableElement::fillSyncerSet(CSyncerSet& syncerSet) const void CConfigurableElement::fillSyncerSetFromDescendant(CSyncerSet& syncerSet) const { // Dig - uint32_t uiIndex; - uint32_t uiNbChildren = getNbChildren(); + size_t uiIndex; + size_t uiNbChildren = getNbChildren(); for (uiIndex = 0; uiIndex < uiNbChildren; uiIndex++) { @@ -401,7 +401,7 @@ void CConfigurableElement::listAssociatedDomains(std::string& strResult, bool bV listDomains(_configurableDomainList, strResult, bVertical); } -uint32_t CConfigurableElement::getBelongingDomainCount() const +size_t CConfigurableElement::getBelongingDomainCount() const { // Get belonging domain list std::list<const CConfigurableDomain*> configurableDomainList; |