(svn r16677) -Codechange: Dimension width and height are unsigned.

This commit is contained in:
alberth
2009-06-27 20:53:45 +00:00
parent 4c3f480f92
commit c52fe937d5
9 changed files with 29 additions and 29 deletions

View File

@@ -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;
}
}