wineserver: fix a gcc 4.0 warning

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

wineserver: fix a gcc 4.0 warning

Mike McCormack
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;
 
     fd_queue_async_timeout( fd, apc, user, iosb, type, count, timeout );
 }