diff options
author | Dongsun Lee <ds73.lee@samsung.com> | 2017-11-23 13:18:21 +0900 |
---|---|---|
committer | Dong Sun Lee <ds73.lee@samsung.com> | 2017-11-23 04:27:22 +0000 |
commit | a0309ce85cd8d2ec57c99e3c96e9bb5eb7be7a39 (patch) | |
tree | cf1441b78938245ae9a9ba54294e78e06d1fb2eb | |
parent | 7f4862db349949b618a7866447bf95040cd4a5c8 (diff) | |
download | pubkey-pinning-accepted/tizen_3.0_wearable.tar.gz pubkey-pinning-accepted/tizen_3.0_wearable.tar.bz2 pubkey-pinning-accepted/tizen_3.0_wearable.zip |
fix type conversion issue.submit/tizen_3.0/20171123.043229accepted/tizen/3.0/wearable/20171127.041601accepted/tizen/3.0/tv/20171127.041558accepted/tizen/3.0/mobile/20171127.041554accepted/tizen/3.0/common/20171127.084410accepted/tizen_3.0_wearableaccepted/tizen_3.0_tvaccepted/tizen_3.0_mobileaccepted/tizen_3.0_common
Change-Id: If0f1ed9896d96a6b1a73ece11e30b589c5f76345
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
(cherry picked from commit d1c05c4dccf51f79ea2e429406b4c180f95cb30a)
-rw-r--r-- | src/common/src/tpkp_common.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<char>(other.hash[i])) return false; } |