From 4c66592ee43abb01bfc792dac9bcc0df9d3df567 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Sun, 14 Jan 2007 21:12:15 +0100 Subject: [PATCH] network plugin: Don't case an int to a void*, because some systems don't like it.. --- src/network.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network.c b/src/network.c index 5d588804..5738d154 100644 --- a/src/network.c +++ b/src/network.c @@ -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 -- 2.30.2