summaryrefslogtreecommitdiff
path: root/nfsd
diff options
context:
space:
mode:
Diffstat (limited to 'nfsd')
-rw-r--r--nfsd/main.c4
1 files changed, 2 insertions, 2 deletions
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 (;;)
{