diff options
author | frosch <frosch@openttd.org> | 2010-05-19 18:38:18 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2010-05-19 18:38:18 +0000 |
commit | e8647016937eb4a3b4b248fa2951cda414783351 (patch) | |
tree | 00d265b32b9cc26a7eff8a1251e4331c27c1b29e /src/video | |
parent | 18b308524651c943f46a14c6d4855b1a95d4b6f9 (diff) | |
download | openttd-e8647016937eb4a3b4b248fa2951cda414783351.tar.xz |
(svn r19861) -Fix (r19814): Silence a warning.
Diffstat (limited to 'src/video')
-rw-r--r-- | src/video/allegro_v.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video/allegro_v.cpp b/src/video/allegro_v.cpp index 2739d0f31..4181fee3c 100644 --- a/src/video/allegro_v.cpp +++ b/src/video/allegro_v.cpp @@ -332,7 +332,7 @@ static void PollEvent() if (prev_button_state != mouse_b) { uint diff = prev_button_state ^ mouse_b; while (diff != 0) { - int button = FindFirstBit(diff); + uint button = FindFirstBit(diff); ClrBit(diff, button); if (HasBit(mouse_b, button)) { /* Pressed mouse button */ |