diff options
author | peter <peter@FreeBSD.org> | 1996-12-30 15:31:26 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1996-12-30 15:31:26 +0000 |
commit | 2d65710e3608a9dd73ac27c0316aa1a8339d116e (patch) | |
tree | 67b348ceea52440c493c83c83a381ce61117c705 /usr.sbin | |
parent | baa49ed6a9f5461f786886c95b773cc8fd6fb2ae (diff) | |
download | FreeBSD-src-2d65710e3608a9dd73ac27c0316aa1a8339d116e.zip FreeBSD-src-2d65710e3608a9dd73ac27c0316aa1a8339d116e.tar.gz |
Fix problem caused by new prototypes. Cast object to (caddr_t) as
expected.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/ypbind/ypbind.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ypbind/ypbind.c b/usr.sbin/ypbind/ypbind.c index b23d0f2..a4e7ef1 100644 --- a/usr.sbin/ypbind/ypbind.c +++ b/usr.sbin/ypbind/ypbind.c @@ -28,7 +28,7 @@ */ #ifndef LINT -static char rcsid[] = "$Id: ypbind.c,v 1.17 1995/07/20 22:32:59 wpaul Exp $"; +static char rcsid[] = "$Id: ypbind.c,v 1.18 1995/12/15 03:39:25 wpaul Exp $"; #endif #include <sys/param.h> @@ -322,7 +322,7 @@ register SVCXPRT *transp; return; } bzero((char *)&argument, sizeof(argument)); - if (!svc_getargs(transp, xdr_argument, &argument)) { + if (!svc_getargs(transp, xdr_argument, (caddr_t)&argument)) { svcerr_decode(transp); return; } |