fix type conversion issue. 53/161353/1 accepted/tizen/5.0/unified/20181102.020538 accepted/tizen/unified/20171123.184047 submit/tizen/20171123.043554 submit/tizen_5.0/20181101.000004
authorDongsun Lee <ds73.lee@samsung.com>
Thu, 23 Nov 2017 04:18:21 +0000 (13:18 +0900)
committerDong Sun Lee <ds73.lee@samsung.com>
Thu, 23 Nov 2017 04:21:25 +0000 (04:21 +0000)
Change-Id: If0f1ed9896d96a6b1a73ece11e30b589c5f76345
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
src/common/src/tpkp_common.cpp

index 0102d36..0416cfd 100644 (file)
@@ -168,7 +168,7 @@ bool Context::Impl::HashValuesEqual::operator()(const HashValue &other) const
                return false;
 
        for (size_t i = 0; i < len; i++) {
-               if (m_chash[i] != other.hash[i])
+               if (m_chash[i] != static_cast<char>(other.hash[i]))
                        return false;
        }