network plugin: Don't case an int to a void*, because some systems don't like it..
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Sun, 14 Jan 2007 20:12:15 +0000 (21:12 +0100)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Sun, 14 Jan 2007 20:12:15 +0000 (21:12 +0100)
src/network.c

index 5d58880..5738d15 100644 (file)
@@ -865,7 +865,7 @@ int network_receive (void)
 
 static void *receive_thread (void *arg)
 {
-       return ((void *) network_receive ());
+       return (network_receive () ? (void *) 1 : (void *) 0);
 } /* void *receive_thread */
 
 #if 0