From 71aee3e959e205d3acc906c1c1cc91d7e4d87f14 Mon Sep 17 00:00:00 2001 From: antirez Date: Thu, 30 Apr 2009 20:08:43 +0200 Subject: [PATCH] more fixes for dict.c and the 150 million keys limit --- dict.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dict.c b/dict.c index daaad2be..7f05e3f5 100644 --- a/dict.c +++ b/dict.c @@ -60,7 +60,7 @@ static void _dictPanic(const char *fmt, ...) /* ------------------------- Heap Management Wrappers------------------------ */ -static void *_dictAlloc(int size) +static void *_dictAlloc(size_t size) { void *p = zmalloc(size); if (p == NULL) -- 2.45.2