From e8647016937eb4a3b4b248fa2951cda414783351 Mon Sep 17 00:00:00 2001 From: frosch Date: Wed, 19 May 2010 18:38:18 +0000 Subject: (svn r19861) -Fix (r19814): Silence a warning. --- src/video/allegro_v.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/video') 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 */ -- cgit v1.2.3-70-g09d2