From 7aa0acdbc893e351241066aba2eadc28e64baf62 Mon Sep 17 00:00:00 2001 From: Nathan Neulinger Date: Tue, 13 May 2003 05:27:59 +0000 Subject: [PATCH] rxgen-xdr-call-stifle-warnings-20030513 FIXES 1349 eliminate some warnings in generated code from rxgen --- src/rxgen/rpc_cout.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } } -- 2.39.5