From 2fd881bfaea43090bbe540e8bee26fcb304422d2 Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Sun, 29 Mar 2009 19:59:48 +0200 Subject: [PATCH] yp_mkdb(8): Silence warnings. --- usr.sbin/yp_mkdb/yp_mkdb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/yp_mkdb/yp_mkdb.c b/usr.sbin/yp_mkdb/yp_mkdb.c index ae3dee503c..3b27a421df 100644 --- a/usr.sbin/yp_mkdb/yp_mkdb.c +++ b/usr.sbin/yp_mkdb/yp_mkdb.c @@ -331,8 +331,8 @@ doclear: char *out = NULL; int stat; if ((stat = callrpc("localhost",YPPROG,YPVERS,YPPROC_CLEAR, - xdr_void, (void *)&in, - xdr_void, (void *)out)) != RPC_SUCCESS) { + (xdrproc_t)xdr_void, (void *)&in, + (xdrproc_t)xdr_void, (void *)out)) != RPC_SUCCESS) { warnx("failed to send 'clear' to local ypserv: %s", clnt_sperrno((enum clnt_stat) stat)); } -- 2.41.0