From bc72df38bfa9fa90e09ba3810982210a4486f4cc Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 8 May 2002 10:13:33 +0000 Subject: 2002-05-08 Roland McGrath * main.c (main): Cast int to intptr_t before any_t. --- nfsd/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nfsd') diff --git a/nfsd/main.c b/nfsd/main.c index 2e5c47c4..ee071090 100644 --- a/nfsd/main.c +++ b/nfsd/main.c @@ -74,11 +74,11 @@ main (int argc, char **argv) init_filesystems (); cthread_detach (cthread_fork ((cthread_fn_t) server_loop, - (any_t) pmap_udp_socket)); + (any_t)(intptr_t) pmap_udp_socket)); while (nthreads--) cthread_detach (cthread_fork ((cthread_fn_t) server_loop, - (any_t) main_udp_socket)); + (any_t)(intptr_t) main_udp_socket)); for (;;) { -- cgit v1.2.3