aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/rpc/auth_time.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/rpc/auth_time.c')
-rw-r--r--lib/libc/rpc/auth_time.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/rpc/auth_time.c b/lib/libc/rpc/auth_time.c
index 264b3685782d..c35bde86a2b8 100644
--- a/lib/libc/rpc/auth_time.c
+++ b/lib/libc/rpc/auth_time.c
@@ -343,8 +343,8 @@ __rpc_get_time_offset(td, srv, thost, uaddr, netid)
tv.tv_sec = 5;
tv.tv_usec = 0;
time_valid = 0;
- status = clnt_call(clnt, RPCBPROC_GETTIME, xdr_void, NULL,
- xdr_u_long, (char *)&thetime, tv);
+ status = clnt_call(clnt, RPCBPROC_GETTIME, (xdrproc_t)xdr_void, NULL,
+ (xdrproc_t)xdr_u_long, &thetime, tv);
/*
* The only error we check for is anything but success. In
* fact we could have seen PROGMISMATCH if talking to a 4.1