1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-30 01:49:10 +00:00

(svn r1475) Fix some more signed/unsigned comparison warnings

This commit is contained in:
tron
2005-01-10 22:14:35 +00:00
parent 46d0e2f892
commit 05a3a83b6c
5 changed files with 11 additions and 8 deletions

View File

@@ -558,7 +558,7 @@ static void PerformanceRatingDetailWndProc(Window *w, WindowEvent *e)
// Bah, player gone :(
w->disabled_state += 1 << (i+13);
// Is this player selected? If so, select first player (always save? :s)
if (w->click_state == 1 << (i+13))
if (w->click_state == 1U << (i + 13))
w->click_state = 1 << 13;
// We need a repaint
SetWindowDirty(w);