Fixed a pedantic warning.

This commit is contained in:
redcode
2022-06-04 04:28:55 +02:00
parent 13667366bc
commit 8424b9462a

View File

@@ -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",