rnd-19981204-1
[rocksndiamonds.git] / src / events.c
index 7f71d4b790c68cf13fda22c0bb4dba5d4a6dfa30..2d8eca3e861657b6442169036ac88d5395f08934 100644 (file)
@@ -662,7 +662,7 @@ void HandleJoystick()
     case SETUP:
     case SETUPINPUT:
     {
-      static long joystickmove_delay = 0;
+      static unsigned long joystickmove_delay = 0;
 
       if (joystick && !button && !DelayReached(&joystickmove_delay, 150))
        newbutton = dx = dy = 0;