From 9b070b5405d11c74d89a747e912e627e39850f7c Mon Sep 17 00:00:00 2001 From: alberth Date: Sat, 27 Jun 2009 20:53:45 +0000 Subject: (svn r16677) -Codechange: Dimension width and height are unsigned. --- src/settings_gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/settings_gui.cpp') 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; } } -- cgit v1.2.3-70-g09d2