From: Nathan Neulinger Date: Tue, 13 May 2003 05:27:59 +0000 (+0000) Subject: rxgen-xdr-call-stifle-warnings-20030513 X-Git-Tag: openafs-devel-1_3_50~234 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=7aa0acdbc893e351241066aba2eadc28e64baf62;p=packages%2Fo%2Fopenafs.git rxgen-xdr-call-stifle-warnings-20030513 FIXES 1349 eliminate some warnings in generated code from rxgen --- diff --git a/src/rxgen/rpc_cout.c b/src/rxgen/rpc_cout.c index 8ea14af28..3caf4a1b8 100644 --- a/src/rxgen/rpc_cout.c +++ b/src/rxgen/rpc_cout.c @@ -160,13 +160,13 @@ static void print_ifarg(char *arg) static void print_ifsizeof(char *prefix, char *type) { if (streq(type, "bool")) { - f_print(fout, ", sizeof(bool_t), xdr_bool"); + f_print(fout, ", sizeof(bool_t), (xdrproc_t) xdr_bool"); } else { f_print(fout, ", sizeof("); if (undefined(type) && prefix) { f_print(fout, "%s ", prefix); } - f_print(fout, "%s), xdr_%s", type, type); + f_print(fout, "%s), (xdrproc_t) xdr_%s", type, type); } }