From d5ff6c742309c7ace0b9cf7455ec7f101b580e2f Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 22 Jun 2009 20:35:14 +0000 Subject: [PATCH] (svn r16625) -Fix: unsigned vs signed warning in strgen --- src/strgen/strgen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/strgen/strgen.cpp b/src/strgen/strgen.cpp index 9209d3190d..78e074caa1 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;