From 911844b16c6b627f421bc3368de427de3ca9f60c Mon Sep 17 00:00:00 2001 From: Patrick Benavoli Date: Wed, 23 Jul 2014 01:27:00 +0200 Subject: 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 --- parameter/ParameterHandle.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'parameter/ParameterHandle.cpp') diff --git a/parameter/ParameterHandle.cpp b/parameter/ParameterHandle.cpp index b513972..3bb6120 100644 --- a/parameter/ParameterHandle.cpp +++ b/parameter/ParameterHandle.cpp @@ -436,7 +436,7 @@ bool CParameterHandle::getAsString(string& strValue, string& strError) const bool CParameterHandle::setAsStringArray(const std::vector& astrValues, string& strError) { // Check operation validity - if (!checkAccessValidity(true, astrValues.size(), strError)) { + if (!checkAccessValidity(true, (uint32_t)astrValues.size(), strError)) { return false; } @@ -475,7 +475,7 @@ bool CParameterHandle::getAsStringArray(std::vector& astrValues, string& } // Access validity -bool CParameterHandle::checkAccessValidity(bool bSet, uint32_t uiArrayLength, string& strError) const +bool CParameterHandle::checkAccessValidity(bool bSet, size_t uiArrayLength, string& strError) const { if (bSet && !isRogue()) { -- cgit v1.1