diff options
author | rubidium <rubidium@openttd.org> | 2014-10-21 16:58:15 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2014-10-21 16:58:15 +0000 |
commit | d1429cd936330ca2b3fb0da6a3de799f51fb0907 (patch) | |
tree | 582d6084c33ac51e0d835d81893520c14eeeeb6d /src/settings_gui.cpp | |
parent | b1216055db4af47574f8f302eebbbfe6c8a46c90 (diff) | |
download | openttd-d1429cd936330ca2b3fb0da6a3de799f51fb0907.tar.xz |
(svn r27026) -Fix: some (older-ish) GCC compiler warnings
Diffstat (limited to 'src/settings_gui.cpp')
-rw-r--r-- | src/settings_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings_gui.cpp b/src/settings_gui.cpp index 5bfcb04ce..f1af4804e 100644 --- a/src/settings_gui.cpp +++ b/src/settings_gui.cpp @@ -290,7 +290,7 @@ struct GameOptionsWindow : Window { list = new DropDownList(); *selected_index = ZOOM_LVL_OUT_4X - _gui_zoom; const StringID *items = _gui_zoom_dropdown; - for (uint i = 0; *items != INVALID_STRING_ID; items++, i++) { + for (int i = 0; *items != INVALID_STRING_ID; items++, i++) { *list->Append() = new DropDownListStringItem(*items, i, _settings_client.gui.zoom_min > ZOOM_LVL_OUT_4X - i); } break; |