rnd-20111007-1-src
[rocksndiamonds.git] / src / libgame / gadgets.c
index ba2081c64974887f28a0111d52d91f37b0e30f0d..cbe7482c0cd972dda7d9334864cebc77814b95e1 100644 (file)
@@ -1431,8 +1431,8 @@ void ClickOnGadget(struct GadgetInfo *gi, int button)
 
 boolean HandleGadgets(int mx, int my, int button)
 {
-  static unsigned long pressed_delay = 0;
-  static unsigned long pressed_delay_value = GADGET_FRAME_DELAY;
+  static unsigned int pressed_delay = 0;
+  static unsigned int pressed_delay_value = GADGET_FRAME_DELAY;
   static int last_button = 0;
   static int last_mx = 0, last_my = 0;
   static int pressed_mx = 0, pressed_my = 0;