summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2010-05-19 18:38:18 +0000
committerfrosch <frosch@openttd.org>2010-05-19 18:38:18 +0000
commite8647016937eb4a3b4b248fa2951cda414783351 (patch)
tree00d265b32b9cc26a7eff8a1251e4331c27c1b29e /src
parent18b308524651c943f46a14c6d4855b1a95d4b6f9 (diff)
downloadopenttd-e8647016937eb4a3b4b248fa2951cda414783351.tar.xz
(svn r19861) -Fix (r19814): Silence a warning.
Diffstat (limited to 'src')
-rw-r--r--src/video/allegro_v.cpp2
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 */