From 8424b9462a25189d7982b85680bd42786839b8ed Mon Sep 17 00:00:00 2001 From: redcode Date: Sat, 4 Jun 2022 04:28:55 +0200 Subject: [PATCH] Fixed a pedantic warning. --- sources/test-Z80.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/test-Z80.c b/sources/test-Z80.c index 87f10bb..a0e57a8 100644 --- a/sources/test-Z80.c +++ b/sources/test-Z80.c @@ -807,7 +807,7 @@ int main(int argc, char **argv) results[run_test(i)]++; } - if (all) for (i = 0; i < Z_ARRAY_SIZE(tests); i++) + if (all) for (i = 0; i < (int)Z_ARRAY_SIZE(tests); i++) if (!(tests_run & (Z_UINT32(1) << i))) results[run_test(i)]++; printf( "%sResults: %u test%s passed, %u failed\n",