]> git.ipfire.org Git - pakfire.git/commitdiff
tests: Fix signedness of an integer
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 14 Dec 2024 12:32:55 +0000 (12:32 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 14 Dec 2024 12:32:55 +0000 (12:32 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
tests/parser/test.c

index 2d0a961161de50fbd78abef1289f673293b2c161..332eb3da057193ac9d7dbe88d37d8c540462271e 100644 (file)
@@ -69,7 +69,7 @@ int main(int argc, const char* argv[]) {
        }
 
        // Try parsing all files that have been passed on the command line
-       for (unsigned int i = 1; i < argc; i++) {
+       for (int i = 1; i < argc; i++) {
                printf("Parsing %s...\n", argv[i]);
 
                // Try opening the file