diff options
author | rubidium <rubidium@openttd.org> | 2009-06-14 17:02:09 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-06-14 17:02:09 +0000 |
commit | fa1dcd419462bce9b47ad26eb26200e9c5fe8112 (patch) | |
tree | 50fea8c90ea9de4d0c30295ac679e6b2941d45e2 /src/strgen | |
parent | 28e6b46a4187a915a2af91807db044beab05b2de (diff) | |
download | openttd-fa1dcd419462bce9b47ad26eb26200e9c5fe8112.tar.xz |
(svn r16577) -Fix: signed/unsigned comparison
Diffstat (limited to 'src/strgen')
-rw-r--r-- | src/strgen/strgen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strgen/strgen.cpp b/src/strgen/strgen.cpp index 2d8823031..e2461ce66 100644 --- a/src/strgen/strgen.cpp +++ b/src/strgen/strgen.cpp @@ -1259,7 +1259,7 @@ int CDECL main(int argc, char *argv[]) if (strcmp(argv[1], "-export-pragmas") == 0) { 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", _pragmas[i][0], _pragmas[i][1], _pragmas[i][2], _pragmas[i][3]); } |