summaryrefslogtreecommitdiff
path: root/nis/nis_findserv.c
diff options
context:
space:
mode:
Diffstat (limited to 'nis/nis_findserv.c')
-rw-r--r--nis/nis_findserv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/nis/nis_findserv.c b/nis/nis_findserv.c
index d0ce3e8693..a87f9b34f4 100644
--- a/nis/nis_findserv.c
+++ b/nis/nis_findserv.c
@@ -163,15 +163,15 @@ __nis_findfastest_with_timeout (dir_binding *bind,
sizeof (struct sockaddr_in));
/* Transmit to NULLPROC, return immediately. */
clnt_call (clnt, NULLPROC,
- (xdrproc_t) xdr_void, (caddr_t) 0,
- (xdrproc_t) xdr_void, (caddr_t) 0, TIMEOUT00);
+ (xdrproc_t) xdr_void, (char *) 0,
+ (xdrproc_t) xdr_void, (char *) 0, TIMEOUT00);
}
while (found == -1) {
/* Receive reply from NULLPROC asynchronously. Note null inproc. */
int rc = clnt_call (clnt, NULLPROC,
- (xdrproc_t) NULL, (caddr_t) 0,
- (xdrproc_t) xdr_void, (caddr_t) 0,
+ (xdrproc_t) NULL, (char *) 0,
+ (xdrproc_t) xdr_void, (char *) 0,
*timeout);
if (RPC_SUCCESS == rc) {
uint32_t val;