mirror of https://github.com/OpenTTD/OpenTTD
(svn r16577) -Fix: signed/unsigned comparison
parent
28e6b46a41
commit
fa1dcd4194
|
@ -1259,7 +1259,7 @@ int CDECL main(int argc, char *argv[])
|
||||||
|
|
||||||
if (strcmp(argv[1], "-export-pragmas") == 0) {
|
if (strcmp(argv[1], "-export-pragmas") == 0) {
|
||||||
printf("name\tflags\tdefault\tdescription\n");
|
printf("name\tflags\tdefault\tdescription\n");
|
||||||
for (int i = 0; i < lengthof(_pragmas); i++) {
|
for (size_t i = 0; i < lengthof(_pragmas); i++) {
|
||||||
printf("\"%s\"\t%s\t\"%s\"\t\"%s\"\n",
|
printf("\"%s\"\t%s\t\"%s\"\t\"%s\"\n",
|
||||||
_pragmas[i][0], _pragmas[i][1], _pragmas[i][2], _pragmas[i][3]);
|
_pragmas[i][0], _pragmas[i][1], _pragmas[i][2], _pragmas[i][3]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue