X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=tools%2Frpcgen%2Frpc_cout.c;h=5f4c3e787026f5414f25e78bcd2a3644b2f2a132;hb=cda9a6c6f9a4c0105956ba2595bb62b14f865739;hp=9bc20bbd49dfd2a36a2347c249db08e3dc4bc61c;hpb=8b7ad01b14df1e7529b9ba8a1ea17df0d6004ef9;p=nfs-utils.git diff --git a/tools/rpcgen/rpc_cout.c b/tools/rpcgen/rpc_cout.c index 9bc20bb..5f4c3e7 100644 --- a/tools/rpcgen/rpc_cout.c +++ b/tools/rpcgen/rpc_cout.c @@ -170,7 +170,7 @@ print_header(definition *def) if (Inline == 0) return; /* May cause lint to complain. but ... */ - f_print(fout, "\t register long *buf;\n\n"); + f_print(fout, "\t register int32_t *buf;\n\n"); } static void @@ -668,14 +668,14 @@ emit_single_in_line(declaration *decl, int flag, relation rel) { free(upp_case); freed=1; - upp_case="LONG"; + upp_case="INT32"; } if(strcmp(upp_case,"U_INT") == 0) { free(upp_case); freed=1; - upp_case="U_LONG"; + upp_case="U_INT32"; }