summaryrefslogtreecommitdiff
path: root/include/rpc
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2004-12-30 04:58:40 +0000
committerchristos <christos@NetBSD.org>2004-12-30 04:58:40 +0000
commit0e1ce86abc224e82e8978c3d4792e50f4d95e237 (patch)
treee1b37833a12cae16da8b4a0c51d30170080338df /include/rpc
parent3de38c17383a839794a15d8b26fcdad319623791 (diff)
cast 1 to size_t
Diffstat (limited to 'include/rpc')
-rw-r--r--include/rpc/types.h4
1 files changed, 2 insertions, 2 deletions
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 <sys/time.h>