about summary refs log tree commit diff
path: root/sunrpc
diff options
context:
space:
mode:
Diffstat (limited to 'sunrpc')
-rw-r--r--sunrpc/clnt_udp.c2
-rw-r--r--sunrpc/pmap_rmt.c2
-rw-r--r--sunrpc/svc_tcp.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/sunrpc/clnt_udp.c b/sunrpc/clnt_udp.c
index 28aa6ef4fd..a0164f01f6 100644
--- a/sunrpc/clnt_udp.c
+++ b/sunrpc/clnt_udp.c
@@ -233,7 +233,7 @@ clntudp_call (cl, proc, xargs, argsp, xresults, resultsp, utimeout)
   XDR *xdrs;
   int outlen = 0;
   int inlen;
-  size_t fromlen;
+  socklen_t fromlen;
 #ifdef FD_SETSIZE
   fd_set readfds;
   fd_set mask;
diff --git a/sunrpc/pmap_rmt.c b/sunrpc/pmap_rmt.c
index 9115491028..ec0b84eeb5 100644
--- a/sunrpc/pmap_rmt.c
+++ b/sunrpc/pmap_rmt.c
@@ -237,7 +237,7 @@ clnt_broadcast (prog, vers, proc, xargs, argsp, xresults, resultsp, eachresult)
   XDR xdr_stream;
   XDR *xdrs = &xdr_stream;
   int outlen, inlen, nets;
-  size_t fromlen;
+  socklen_t fromlen;
   int sock;
   int on = 1;
 #ifdef FD_SETSIZE
diff --git a/sunrpc/svc_tcp.c b/sunrpc/svc_tcp.c
index e14a9ad770..8d728bd47d 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;
-  size_t len = sizeof (struct sockaddr_in);
+  socklen_t len = sizeof (struct sockaddr_in);
 
   if (sock == RPC_ANYSOCK)
     {
@@ -232,7 +232,7 @@ rendezvous_request (SVCXPRT *xprt, struct rpc_msg *errmsg)
   int sock;
   struct tcp_rendezvous *r;
   struct sockaddr_in addr;
-  size_t len;
+  socklen_t len;
 
   r = (struct tcp_rendezvous *) xprt->xp_p1;
 again: