summary refs log tree commit diff
path: root/sunrpc/rtime.c
diff options
context:
space:
mode:
Diffstat (limited to 'sunrpc/rtime.c')
-rw-r--r--sunrpc/rtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sunrpc/rtime.c b/sunrpc/rtime.c
index 4996f01ba9..ff71a55aeb 100644
--- a/sunrpc/rtime.c
+++ b/sunrpc/rtime.c
@@ -80,7 +80,7 @@ rtime (struct sockaddr_in *addrp, struct rpc_timeval *timep,
   /* RFC 868 says the time is transmitted as a 32-bit value.  */
   uint32_t thetime;
   struct sockaddr_in from;
-  int fromlen;
+  socklen_t fromlen;
   int type;
 
   if (timeout == NULL)