From: antirez Date: Thu, 30 Apr 2009 18:08:43 +0000 (+0200) Subject: more fixes for dict.c and the 150 million keys limit X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/71aee3e959e205d3acc906c1c1cc91d7e4d87f14?ds=sidebyside more fixes for dict.c and the 150 million keys limit --- 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)