Fix problem caused by new prototypes. Cast object to (caddr_t) as

expected.
This commit is contained in:
Peter Wemm 1996-12-30 15:31:26 +00:00
parent 42f84d8323
commit 08bdf9d1a9
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}