wineserver: fix a gcc 4.0 warning

Marcus Meissner marcus at jet.franken.de
Wed Sep 14 01:02:33 CDT 2005


On Wed, Sep 14, 2005 at 01:47:00PM +0900, Mike McCormack wrote:
> ChangeLog:
> fix a gcc 4.0 warning

> Index: server/mailslot.c
> ===================================================================
> RCS file: /home/mike/src/wine-cvs/wine/server/mailslot.c,v
> retrieving revision 1.9
> diff -u -p -r1.9 mailslot.c
> --- server/mailslot.c	14 Jul 2005 12:18:05 -0000	1.9
> +++ server/mailslot.c	14 Sep 2005 00:18:08 -0000
> @@ -207,7 +207,7 @@ static void mailslot_queue_async( struct
>      }
>  
>      if (mailslot->read_timeout != MAILSLOT_WAIT_FOREVER)
> -        timeout = &mailslot->read_timeout;
> +        timeout = (int*) &mailslot->read_timeout;

It would be better to change read_timeout to "int" instead I guess.

Ciao, Marcus



More information about the wine-devel mailing list