diff options
author | tron <tron@openttd.org> | 2005-01-10 22:14:35 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-01-10 22:14:35 +0000 |
commit | f0be7b6192f06e6d8549c0a500e718db218bbe14 (patch) | |
tree | 6883287048b8258867d42f07df628238162411dc /graph_gui.c | |
parent | b71af73c00d0f1ebb4f994e16660c0002b47dde7 (diff) | |
download | openttd-f0be7b6192f06e6d8549c0a500e718db218bbe14.tar.xz |
(svn r1475) Fix some more signed/unsigned comparison warnings
Diffstat (limited to 'graph_gui.c')
-rw-r--r-- | graph_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graph_gui.c b/graph_gui.c index c8d0b63e4..c9b5d1377 100644 --- a/graph_gui.c +++ b/graph_gui.c @@ -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); |