(svn r19861) -Fix (r19814): Silence a warning.

This commit is contained in:
frosch 2010-05-19 18:38:18 +00:00
parent 7e5d622f7f
commit e6bc1150ae

View File

@ -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 */