From a0309ce85cd8d2ec57c99e3c96e9bb5eb7be7a39 Mon Sep 17 00:00:00 2001 From: Dongsun Lee Date: Thu, 23 Nov 2017 13:18:21 +0900 Subject: fix type conversion issue. Change-Id: If0f1ed9896d96a6b1a73ece11e30b589c5f76345 Signed-off-by: Dongsun Lee (cherry picked from commit d1c05c4dccf51f79ea2e429406b4c180f95cb30a) --- src/common/src/tpkp_common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3