summaryrefslogtreecommitdiff
path: root/src/genworld_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-03-13 00:48:03 +0000
committerrubidium <rubidium@openttd.org>2009-03-13 00:48:03 +0000
commit2adbf67968ad958c555f6bd475507e9bee4bb450 (patch)
tree2aa0dcb28c86b94945838a6d676a3dbc5406247d /src/genworld_gui.cpp
parenteb0d43aadd6f423fa961dd81e4fdfb49ce9e92a2 (diff)
downloadopenttd-2adbf67968ad958c555f6bd475507e9bee4bb450.tar.xz
(svn r15697) -Fix (r15695): warning about comparing signed vs unsigned.
Diffstat (limited to 'src/genworld_gui.cpp')
-rw-r--r--src/genworld_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/genworld_gui.cpp b/src/genworld_gui.cpp
index fd9346c8f..1dcd36dc7 100644
--- a/src/genworld_gui.cpp
+++ b/src/genworld_gui.cpp
@@ -572,7 +572,7 @@ struct GenerateLandscapeWindow : public QueryStringBaseWindow {
case GLAND_SMOOTHNESS_PULLDOWN: _settings_newgame.game_creation.tgen_smoothness = index; break;
case GLAND_TOWN_PULLDOWN:
- if (index == CUSTOM_TOWN_NUMBER_DIFFICULTY) {
+ if ((uint)index == CUSTOM_TOWN_NUMBER_DIFFICULTY) {
this->widget_id = widget;
SetDParam(0, _settings_newgame.game_creation.custom_town_number);
ShowQueryString(STR_CONFIG_SETTING_INT32, STR_NUMBER_OF_TOWNS, 5, 50, this, CS_NUMERAL, QSF_NONE);