# HG changeset patch # User Sebastien Jodogne # Date 1599481137 -7200 # Node ID 84c4ca822a1390d179896c3772a8b38bfc17d049 # Parent e48acd7bc5774401fc5ac7ff19d15c0765cc3b11 fix warning in unit test diff -r e48acd7bc577 -r 84c4ca822a13 UnitTestsSources/EncryptionTests.cpp --- 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)