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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user