2005-02-16 Roland McGrath <roland@redhat.com>
authorroland <roland>
Thu, 17 Feb 2005 01:17:10 +0000 (01:17 +0000)
committerroland <roland>
Thu, 17 Feb 2005 01:17:10 +0000 (01:17 +0000)
* sunrpc/svcauth_des.c (_svcauth_des): Fix cast type.

sunrpc/svcauth_des.c

index 07d7bd0..becdd50 100644 (file)
@@ -315,7 +315,7 @@ _svcauth_des (register struct svc_req *rqst, register struct rpc_msg *msg)
   /*
    * xdr the timestamp before encrypting
    */
-  ixdr = (int32_t *) cryptbuf;
+  ixdr = (uint32_t *) cryptbuf;
   IXDR_PUT_INT32 (ixdr, timestamp.tv_sec - 1);
   IXDR_PUT_INT32 (ixdr, timestamp.tv_usec);