From 3b7622b846431b11b8819b25ae1549776e8f3c76 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Wed, 25 Jan 2023 14:18:53 +0100 Subject: [PATCH] fixed deallocateDecryptedOutput's bad variable type --- src/logger/lib/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/logger/lib/utils.c b/src/logger/lib/utils.c index 4f6ac2d..05f6c1e 100644 --- a/src/logger/lib/utils.c +++ b/src/logger/lib/utils.c @@ -37,7 +37,7 @@ void deallocateLogger(logFile logger) void deallocateDecryptedOutput(decryptedOutput output) { - for (int i = 0; i < output.length; i++) + for (unsigned long i = 0; i < output.length; i++) { free(output.decryptedText[i]); }