diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-09-27 05:24:26 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-09-27 05:24:26 +0000 |
commit | 2512c847453c24b928c34beed88902fbb6877b7a (patch) | |
tree | 3d327c54c00684b85c435cffa29c5050888c0a69 /libc/inet/rpc/bindresvport.c | |
parent | e83a36ce9f97ac0f59117b3a62fd2dd8461b1fd5 (diff) |
Update to accomodate the header file changes
Diffstat (limited to 'libc/inet/rpc/bindresvport.c')
-rw-r--r-- | libc/inet/rpc/bindresvport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/inet/rpc/bindresvport.c b/libc/inet/rpc/bindresvport.c index e71dff7f4..800398ae4 100644 --- a/libc/inet/rpc/bindresvport.c +++ b/libc/inet/rpc/bindresvport.c @@ -75,7 +75,7 @@ struct sockaddr_in *sin; if (port > ENDPORT) { port = STARTPORT; } - res = bind(sd, sin, sizeof(struct sockaddr_in)); + res = bind(sd, (struct sockaddr *)sin, (socklen_t)sizeof(struct sockaddr_in)); } return (res); } |