aboutsummaryrefslogtreecommitdiff
path: root/sunrpc/rtime.c
diff options
context:
space:
mode:
Diffstat (limited to 'sunrpc/rtime.c')
-rw-r--r--sunrpc/rtime.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sunrpc/rtime.c b/sunrpc/rtime.c
index ba3e768..536d018 100644
--- a/sunrpc/rtime.c
+++ b/sunrpc/rtime.c
@@ -77,7 +77,8 @@ rtime (struct sockaddr_in *addrp, struct rpc_timeval *timep,
struct pollfd fd;
int milliseconds;
int res;
- unsigned long thetime;
+ /* RFC 868 says the time is transmitted as a 32-bit value. */
+ uint32_t thetime;
struct sockaddr_in from;
int fromlen;
int type;