diff options
author | frosch <frosch@openttd.org> | 2010-02-14 13:01:07 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2010-02-14 13:01:07 +0000 |
commit | d757f81646f703d76236e3fb1ba57209f925b22a (patch) | |
tree | 7b0bc74706aa2568d284ea2e5556afd1cdf7b31b /src | |
parent | b0496c339f58ecb3d7d7ccdfb4a6cfcea93fbe76 (diff) | |
download | openttd-d757f81646f703d76236e3fb1ba57209f925b22a.tar.xz |
(svn r19126) -Codechange: Silence a warning.
Diffstat (limited to 'src')
-rw-r--r-- | src/industry_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp index bc85373e8..f0ebf4d18 100644 --- a/src/industry_cmd.cpp +++ b/src/industry_cmd.cpp @@ -1809,7 +1809,7 @@ static void PlaceInitialIndustry(IndustryType type, bool try_hard) IncreaseGeneratingWorldProgress(GWP_INDUSTRY); - for (uint i = 0; i < (try_hard ? 10000 : 2000); i++) { + for (uint i = 0; i < (try_hard ? 10000u : 2000u); i++) { if (CreateNewIndustry(RandomTile(), type) != NULL) break; } |