mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(svn r16577) -Fix: signed/unsigned comparison
This commit is contained in:
parent
714acd5c74
commit
af4992ec14
@ -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
Block a user