diff --git a/tests/test_hash.c b/tests/test_hash.c index f1262894ed..34d22d1465 100644 --- a/tests/test_hash.c +++ b/tests/test_hash.c @@ -93,7 +93,7 @@ static int do_sha256(void) { } // hash with increment API less than block size - int i = 0; + size_t i = 0; for (i = 0; i < msg_len; i++) { OQS_SHA2_sha256_inc(&state3, &msg[i], 1); }