Commit d1cd5e3e authored by Vivien Kraus's avatar Vivien Kraus
Browse files

Silence a warning when comparing an int to a small size_t

parent 85aee4c4
......@@ -96,7 +96,7 @@ Copyright © 2019 Vivien Kraus\nThis is free software; see the source for copyin
fprintf (stderr, _ ("Error: this game is not finished yet.\n"));
return EXIT_FAILURE;
}
for (i = 0; i < n_scores; i++)
for (i = 0; i < (int) n_scores; i++)
{
printf ("%d\n", scores[i]);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment