Fixed compiler warnings in tests

This commit is contained in:
SChernykh
2022-05-24 15:18:09 +02:00
parent bfa8334aeb
commit 6d121122f8
2 changed files with 9 additions and 9 deletions

View File

@@ -55,7 +55,7 @@ TEST(hash, empty)
hash h;
ASSERT_EQ(h.empty(), true);
for (int i = 0; i < HASH_SIZE; ++i) {
for (size_t i = 0; i < HASH_SIZE; ++i) {
hash h2;
h2.h[i] = 1;
ASSERT_EQ(h2.empty(), false);