diff --git a/usr.bin/rpcgen/rpc_svcout.c b/usr.bin/rpcgen/rpc_svcout.c index 90d2221bc0a8..0a3ec751540b 100644 --- a/usr.bin/rpcgen/rpc_svcout.c +++ b/usr.bin/rpcgen/rpc_svcout.c @@ -29,7 +29,7 @@ */ #ifndef lint /*static char sccsid[] = "from: @(#)rpc_svcout.c 1.6 87/06/24 (C) 1987 SMI";*/ -static char rcsid[] = "$Id: rpc_svcout.c,v 1.3 1993/08/01 18:09:17 mycroft Exp $"; +static char rcsid[] = "$Id: rpc_svcout.c,v 1.4 1994/12/24 17:36:16 cgd Exp $"; #endif /* @@ -222,7 +222,7 @@ write_program(def, storage) f_print(fout, "\t}\n"); f_print(fout, "\tbzero((char *)&%s, sizeof(%s));\n", ARG, ARG); - printif("getargs", TRANSP, "&", ARG); + printif("getargs", TRANSP, "(caddr_t)&", ARG); printerr("decode", TRANSP); f_print(fout, "\t\treturn;\n"); f_print(fout, "\t}\n"); @@ -235,7 +235,7 @@ write_program(def, storage) printerr("systemerr", TRANSP); f_print(fout, "\t}\n"); - printif("freeargs", TRANSP, "&", ARG); + printif("freeargs", TRANSP, "(caddr_t)&", ARG); f_print(fout, "\t\t(void)fprintf(stderr, \"unable to free arguments\\n\");\n"); f_print(fout, "\t\texit(1);\n"); f_print(fout, "\t}\n");