Re: [AD] Allegro 4.2.0 RC2 -- small const fix

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


small const fix

--
Regards,
    Michal

ICQ# 175762750
--- wmouse.c.old	Sun May 15 01:54:52 2005
+++ wmouse.c	Sun Aug 28 11:46:05 2005
@@ -49,7 +49,7 @@
 static void mouse_directx_set_range(int x1, int y1, int x2, int y2);
 static void mouse_directx_set_speed(int xspeed, int yspeed);
 static void mouse_directx_get_mickeys(int *mickeyx, int *mickeyy);
-static void mouse_directx_enable_hardware_cursor(int mode);
+static void mouse_directx_enable_hardware_cursor(AL_CONST int mode);
 static int mouse_directx_select_system_cursor(AL_CONST int cursor);
 
 static MOUSE_DRIVER mouse_directx =
@@ -785,7 +785,7 @@
  *  enable the hardware cursor; actually a no-op in Windows, but we need to
  *  put something in the vtable.
  */
-static void mouse_directx_enable_hardware_cursor(int mode)
+static void mouse_directx_enable_hardware_cursor(AL_CONST int mode)
 {
    /* Do nothing */
    (void)mode;


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/