diff options
author | Roland McGrath <roland@gnu.org> | 2002-05-08 10:13:33 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-05-08 10:13:33 +0000 |
commit | bc72df38bfa9fa90e09ba3810982210a4486f4cc (patch) | |
tree | 77d3df1ef38de01333718b9c32806db62402e2b4 /nfsd/main.c | |
parent | b76c10ed0bc068350c05d0c15b0eb9d93d549225 (diff) |
2002-05-08 Roland McGrath <roland@frob.com>
* main.c (main): Cast int to intptr_t before any_t.
Diffstat (limited to 'nfsd/main.c')
-rw-r--r-- | nfsd/main.c | 4 |
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 (;;) { |