mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 14:27:16 +00:00
(svn r13539) -Fix (r13537): signed/unsigned warnings
This commit is contained in:
parent
0fff18b044
commit
4782df757c
@ -740,7 +740,7 @@ static void FindResolutions()
|
|||||||
uint j;
|
uint j;
|
||||||
|
|
||||||
for (j = 0; j < n; j++) {
|
for (j = 0; j < n; j++) {
|
||||||
if (_resolutions[j].width == dm.dmPelsWidth && _resolutions[j].height == dm.dmPelsHeight) break;
|
if (_resolutions[j].width == (int)dm.dmPelsWidth && _resolutions[j].height == (int)dm.dmPelsHeight) break;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* In the previous loop we have checked already existing/added resolutions if
|
/* In the previous loop we have checked already existing/added resolutions if
|
||||||
|
Loading…
Reference in New Issue
Block a user