From 598f7dac6672a44679fb042e1c41b7044eadd183 Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Fri, 10 Apr 2009 20:22:08 +0200 Subject: [PATCH] callbootd: Silence warnings. --- usr.sbin/bootparamd/callbootd/callbootd.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/usr.sbin/bootparamd/callbootd/callbootd.c b/usr.sbin/bootparamd/callbootd/callbootd.c index b33fe96087..49d68dd89e 100644 --- a/usr.sbin/bootparamd/callbootd/callbootd.c +++ b/usr.sbin/bootparamd/callbootd/callbootd.c @@ -112,8 +112,9 @@ main(int argc, char **argv) } else { clnt_stat=clnt_broadcast(BOOTPARAMPROG, BOOTPARAMVERS, BOOTPARAMPROC_WHOAMI, - xdr_bp_whoami_arg, &whoami_arg, - xdr_bp_whoami_res, &stat_whoami_res, eachres_whoami); + (xdrproc_t)xdr_bp_whoami_arg, &whoami_arg, + (xdrproc_t)xdr_bp_whoami_res, &stat_whoami_res, + (resultproc_t)eachres_whoami); exit(0); } @@ -132,8 +133,9 @@ main(int argc, char **argv) } else { clnt_stat=clnt_broadcast(BOOTPARAMPROG, BOOTPARAMVERS, BOOTPARAMPROC_GETFILE, - xdr_bp_getfile_arg, &getfile_arg, - xdr_bp_getfile_res, &stat_getfile_res,eachres_getfile); + (xdrproc_t)xdr_bp_getfile_arg, &getfile_arg, + (xdrproc_t)xdr_bp_getfile_res, &stat_getfile_res, + (resultproc_t)eachres_getfile); exit(0); } -- 2.11.4.GIT