Re: [AD] Allegro 4.2.0 RC2 -- small const fix |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Sun, 2005-08-28 at 16:14 +0200, Elias Pschernig wrote:
> On Sun, 2005-08-28 at 15:19 +0200, Michal Molhanec wrote:
> > Elias Pschernig wrote:
> > > Ah, yes, of course. Attached is a patch which removes the const from the
> > > MOUSE_DRIVER. Would that fix the problem as well?
> >
> > with this small patch yes
> >
> > plain text document attachment (wmouse.c.diff)
> > --- wmouse.c.old Sun Aug 28 13:50:39 2005
> > +++ wmouse.c Sun Aug 28 15:14:56 2005
> > @@ -50,7 +50,7 @@
> > 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 int mouse_directx_select_system_cursor(AL_CONST int cursor);
> > +static int mouse_directx_select_system_cursor(int cursor);
> >
> > static MOUSE_DRIVER mouse_directx =
> > {
>
> Ah, yes, of course. Will wait for Evert to acknowledge it before
> committing.
>
Well, I committed your and my last patch, if I understand right, that
should fix the warnings.
--
Elias Pschernig