more fixes for dict.c and the 150 million keys limit

This commit is contained in:
antirez 2009-04-30 20:08:43 +02:00
parent f2923becc6
commit 71aee3e959

2
dict.c
View File

@ -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)