]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(rtime): Change type of thetime to uint32_t.
authorUlrich Drepper <drepper@redhat.com>
Thu, 14 Feb 2002 09:05:27 +0000 (09:05 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 14 Feb 2002 09:05:27 +0000 (09:05 +0000)
sunrpc/rtime.c

index ba3e768b08b29825b410d6f6ee23eb0fa1df753f..536d018c9033c4a86ec59f21ac4258b6072deb10 100644 (file)
@@ -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;