mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(svn r16625) -Fix: unsigned vs signed warning in strgen
This commit is contained in:
parent
464ae63996
commit
d5ff6c7423
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user