summaryrefslogtreecommitdiffstats
path: root/tools/rpcgen/rpc_hout.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/rpcgen/rpc_hout.c')
-rw-r--r--tools/rpcgen/rpc_hout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/rpcgen/rpc_hout.c b/tools/rpcgen/rpc_hout.c
index 06835cd..27ed4d5 100644
--- a/tools/rpcgen/rpc_hout.c
+++ b/tools/rpcgen/rpc_hout.c
@@ -222,7 +222,7 @@ pdefine(char *name, char *num)
static void
puldefine(char *name, char *num)
{
- f_print(fout, "#define %s ((u_long)%s)\n", name, num);
+ f_print(fout, "#define %s ((u_int32_t)%s)\n", name, num);
}
static int