From: Dongsun Lee Date: Thu, 23 Nov 2017 04:18:21 +0000 (+0900) Subject: fix type conversion issue. X-Git-Tag: submit/tizen_3.0/20171123.043229^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a0309ce85cd8d2ec57c99e3c96e9bb5eb7be7a39;p=platform%2Fcore%2Fsecurity%2Fpubkey-pinning.git fix type conversion issue. Change-Id: If0f1ed9896d96a6b1a73ece11e30b589c5f76345 Signed-off-by: Dongsun Lee (cherry picked from commit d1c05c4dccf51f79ea2e429406b4c180f95cb30a) --- diff --git a/src/common/src/tpkp_common.cpp b/src/common/src/tpkp_common.cpp index 0102d36..0416cfd 100644 --- a/src/common/src/tpkp_common.cpp +++ b/src/common/src/tpkp_common.cpp @@ -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(other.hash[i])) return false; }