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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/settings_gui.cpp b/src/settings_gui.cpp
index b276eaf13..da247b73c 100644
--- a/src/settings_gui.cpp
+++ b/src/settings_gui.cpp
@@ -89,8 +89,8 @@ static int GetCurRes()
int i;
for (i = 0; i != _num_resolutions; i++) {
- if (_resolutions[i].width == _screen.width &&
- _resolutions[i].height == _screen.height) {
+ if ((int)_resolutions[i].width == _screen.width &&
+ (int)_resolutions[i].height == _screen.height) {
break;
}
}