From f256680f878cf3d4f9eb377ff345a90ef4845e75 Mon Sep 17 00:00:00 2001 From: Jason Evans Date: Wed, 26 Jan 2011 08:24:24 -0800 Subject: Fix ALLOCM_LG_ALIGN definition. Fix ALLOCM_LG_ALIGN to take a parameter and use it. Apparently, an editing error left ALLOCM_LG_ALIGN with the same definition as ALLOCM_LG_ALIGN_MASK. --- jemalloc/include/jemalloc/jemalloc.h.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jemalloc/include/jemalloc/jemalloc.h.in b/jemalloc/include/jemalloc/jemalloc.h.in index 4dd3981..580a5ec 100644 --- a/jemalloc/include/jemalloc/jemalloc.h.in +++ b/jemalloc/include/jemalloc/jemalloc.h.in @@ -19,7 +19,7 @@ extern "C" { # define JEMALLOC_P(s) s #endif -#define ALLOCM_LG_ALIGN ((int)0x3f) +#define ALLOCM_LG_ALIGN(la) (la) #if LG_SIZEOF_PTR == 2 #define ALLOCM_ALIGN(a) (ffs(a)-1) #else -- cgit v0.12