summaryrefslogtreecommitdiff
path: root/src/settings_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings_gui.cpp')
-rw-r--r--src/settings_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings_gui.cpp b/src/settings_gui.cpp
index 2ac70887e..93f8e3816 100644
--- a/src/settings_gui.cpp
+++ b/src/settings_gui.cpp
@@ -317,7 +317,7 @@ struct GameOptionsWindow : Window {
/* Sort language names */
LangList langs;
int current_lang = 0;
- for (size_t i = 0; i < _languages.Length(); i++) {
+ for (int i = 0; i < (int)_languages.Length(); i++) {
if (&_languages[i] == _current_language) current_lang = i;
langs[SPECSTR_LANGUAGE_START + i] = i;
}