summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-06-22 20:35:14 +0000
committerrubidium <rubidium@openttd.org>2009-06-22 20:35:14 +0000
commitd5ff6c742309c7ace0b9cf7455ec7f101b580e2f (patch)
tree0d1d7efa5131df8f296c25071306a214f70e50c5
parent464ae639967a42f95e5cdbb64e11e6fdeb1b66ff (diff)
downloadopenttd-d5ff6c742309c7ace0b9cf7455ec7f101b580e2f.tar.xz
(svn r16625) -Fix: unsigned vs signed warning in strgen
-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 9209d3190..78e074caa 100644
--- a/src/strgen/strgen.cpp
+++ b/src/strgen/strgen.cpp
@@ -1063,7 +1063,7 @@ static void WriteLangfile(const char *filename)
fwrite(&hdr, sizeof(hdr), 1, f);
for (int i = 0; i != 32; i++) {
- for (int j = 0; j != in_use[i]; j++) {
+ for (uint j = 0; j != in_use[i]; j++) {
const LangString *ls = _strings[(i << 11) + j];
const Case *casep;
const char *cmdp;