mirror of
https://github.com/fluencelabs/redis
synced 2025-04-01 23:31:03 +00:00
more fixes for dict.c and the 150 million keys limit
This commit is contained in:
parent
f2923becc6
commit
71aee3e959
2
dict.c
2
dict.c
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user