summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/industry_cmd.cpp2
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;
}