summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;