(svn r15697) -Fix (r15695): warning about comparing signed vs unsigned.

This commit is contained in:
rubidium
2009-03-13 00:48:03 +00:00
parent eb0d43aadd
commit 2adbf67968
3 changed files with 4 additions and 4 deletions

View File

@@ -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);