Commit 71aee3e9 authored by antirez's avatar antirez
Browse files

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

parent f2923bec
...@@ -60,7 +60,7 @@ static void _dictPanic(const char *fmt, ...) ...@@ -60,7 +60,7 @@ static void _dictPanic(const char *fmt, ...)
/* ------------------------- Heap Management Wrappers------------------------ */ /* ------------------------- Heap Management Wrappers------------------------ */
static void *_dictAlloc(int size) static void *_dictAlloc(size_t size)
{ {
void *p = zmalloc(size); void *p = zmalloc(size);
if (p == NULL) if (p == NULL)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment