summaryrefslogtreecommitdiffstats
path: root/lib/librpcsvc/yp_passwd.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-10-26 03:43:35 +0000
committerpeter <peter@FreeBSD.org>2003-10-26 03:43:35 +0000
commiteaeee19e67cfe571826764870b55f0b4c8d52c1d (patch)
treed7593a72a6833981ddafbef785f8f22429b4db7e /lib/librpcsvc/yp_passwd.c
parent7c422b97bdc8f243bc66ee0c3902f232a7bd9403 (diff)
downloadFreeBSD-src-eaeee19e67cfe571826764870b55f0b4c8d52c1d.zip
FreeBSD-src-eaeee19e67cfe571826764870b55f0b4c8d52c1d.tar.gz
clnt_call takes args of type xdrproc_t.
Diffstat (limited to 'lib/librpcsvc/yp_passwd.c')
-rw-r--r--lib/librpcsvc/yp_passwd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/librpcsvc/yp_passwd.c b/lib/librpcsvc/yp_passwd.c
index 1c6e6aa..e7c5914 100644
--- a/lib/librpcsvc/yp_passwd.c
+++ b/lib/librpcsvc/yp_passwd.c
@@ -76,7 +76,8 @@ _yppasswd(char *oldpass, struct x_passwd *newpw)
}
rval = callrpc(server, YPPASSWDPROG, YPPASSWDVERS, YPPASSWDPROC_UPDATE,
- xdr_yppasswd, (char *)&yppasswd, xdr_int, (char *)&result);
+ (xdrproc_t)xdr_yppasswd, (char *)&yppasswd,
+ (xdrproc_t)xdr_int, (char *)&result);
free(server);
if (rval || result)
OpenPOWER on IntegriCloud