From d757f81646f703d76236e3fb1ba57209f925b22a Mon Sep 17 00:00:00 2001 From: frosch Date: Sun, 14 Feb 2010 13:01:07 +0000 Subject: [PATCH] (svn r19126) -Codechange: Silence a warning. --- src/industry_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp index bc85373e80..f0ebf4d18d 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; }