Mercurial > hg > orthanc-object-storage
changeset 24:84c4ca822a13
fix warning in unit test
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 07 Sep 2020 14:18:57 +0200 |
parents | e48acd7bc577 |
children | b0b7eb7cff73 |
files | UnitTestsSources/EncryptionTests.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/UnitTestsSources/EncryptionTests.cpp Mon Sep 07 14:18:00 2020 +0200 +++ b/UnitTestsSources/EncryptionTests.cpp Mon Sep 07 14:18:57 2020 +0200 @@ -32,8 +32,8 @@ ASSERT_NE(key1, key2); - ASSERT_EQ(32, key1.size()); // right now, we work with 256bits key - ASSERT_EQ(32*2, EncryptionHelpers::ToHexString(key1).size()); + ASSERT_EQ(32u, key1.size()); // right now, we work with 256bits key + ASSERT_EQ(32u * 2u, EncryptionHelpers::ToHexString(key1).size()); } TEST(EncryptionHelpers, EncryptDecryptSimpleText)