diff options
author | peter <peter@FreeBSD.org> | 2003-10-26 03:43:35 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2003-10-26 03:43:35 +0000 |
commit | eaeee19e67cfe571826764870b55f0b4c8d52c1d (patch) | |
tree | d7593a72a6833981ddafbef785f8f22429b4db7e /lib/librpcsvc/yp_passwd.c | |
parent | 7c422b97bdc8f243bc66ee0c3902f232a7bd9403 (diff) | |
download | FreeBSD-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.c | 3 |
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) |