fix type conversion issue. 54/161354/1 accepted/tizen_3.0_common accepted/tizen_3.0_mobile accepted/tizen_3.0_tv accepted/tizen_3.0_wearable accepted/tizen/3.0/common/20171127.084410 accepted/tizen/3.0/mobile/20171127.041554 accepted/tizen/3.0/tv/20171127.041558 accepted/tizen/3.0/wearable/20171127.041601 submit/tizen_3.0/20171123.043229
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:27:22 +0000 (04:27 +0000)
Change-Id: If0f1ed9896d96a6b1a73ece11e30b589c5f76345
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
(cherry picked from commit d1c05c4dccf51f79ea2e429406b4c180f95cb30a)

src/common/src/tpkp_common.cpp

index 0102d3628cd1236540a40d79f7857b29732752f2..0416cfda474891a4e2649ace8e2eb14730d71405 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;
        }