summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-06-14 17:02:09 +0000
committerrubidium <rubidium@openttd.org>2009-06-14 17:02:09 +0000
commitfa1dcd419462bce9b47ad26eb26200e9c5fe8112 (patch)
tree50fea8c90ea9de4d0c30295ac679e6b2941d45e2 /src
parent28e6b46a4187a915a2af91807db044beab05b2de (diff)
downloadopenttd-fa1dcd419462bce9b47ad26eb26200e9c5fe8112.tar.xz
(svn r16577) -Fix: signed/unsigned comparison
Diffstat (limited to 'src')
-rw-r--r--src/strgen/strgen.cpp2
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]);
}