(svn r16677) -Codechange: Dimension width and height are unsigned.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user