diff options
Diffstat (limited to 'sunrpc/svc_tcp.c')
-rw-r--r-- | sunrpc/svc_tcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sunrpc/svc_tcp.c b/sunrpc/svc_tcp.c index 758b6ba6e4..ec7de3b80a 100644 --- a/sunrpc/svc_tcp.c +++ b/sunrpc/svc_tcp.c @@ -130,7 +130,7 @@ svctcp_create (int sock, u_int sendsize, u_int recvsize) SVCXPRT *xprt; struct tcp_rendezvous *r; struct sockaddr_in addr; - int len = sizeof (struct sockaddr_in); + size_t len = sizeof (struct sockaddr_in); if (sock == RPC_ANYSOCK) { @@ -231,7 +231,7 @@ rendezvous_request (SVCXPRT *xprt, struct rpc_msg *errmsg) int sock; struct tcp_rendezvous *r; struct sockaddr_in addr; - int len; + size_t len; r = (struct tcp_rendezvous *) xprt->xp_p1; again: |