diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/jemalloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jemalloc.c b/src/jemalloc.c index 4c94568d..8ffafb97 100644 --- a/src/jemalloc.c +++ b/src/jemalloc.c @@ -117,7 +117,7 @@ static uint8_t malloc_slow_flags; #ifdef JEMALLOC_THREADED_INIT /* Used to let the initializing thread recursively allocate. */ -# define NO_INITIALIZER ((unsigned long)0) +# define NO_INITIALIZER ((pthread_t)0) # define INITIALIZER pthread_self() # define IS_INITIALIZER (malloc_initializer == pthread_self()) static pthread_t malloc_initializer = NO_INITIALIZER; |