From 0e1ce86abc224e82e8978c3d4792e50f4d95e237 Mon Sep 17 00:00:00 2001 From: christos Date: Thu, 30 Dec 2004 04:58:40 +0000 Subject: cast 1 to size_t --- include/rpc/types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/rpc/types.h b/include/rpc/types.h index e0f56ae6049..029a69bc2cc 100644 --- a/include/rpc/types.h +++ b/include/rpc/types.h @@ -1,4 +1,4 @@ -/* $NetBSD: types.h,v 1.13 2000/06/13 01:02:44 thorpej Exp $ */ +/* $NetBSD: types.h,v 1.14 2004/12/30 04:58:40 christos Exp $ */ /* * Sun RPC is a product of Sun Microsystems, Inc. and is provided for @@ -62,7 +62,7 @@ typedef int32_t rpc_inline_t; # define NULL 0 #endif -#define mem_alloc(bsize) calloc(1, bsize) +#define mem_alloc(bsize) calloc((size_t)1, bsize) #define mem_free(ptr, bsize) free(ptr) #include -- cgit