summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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 */