From 85890c1af4e53f053eb44fe159382a6a26a7abb0 Mon Sep 17 00:00:00 2001 From: Norman Ashley Date: Fri, 17 Nov 2023 21:18:20 +0000 Subject: [PATCH] Fix comparison sign --- tests/test_hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }