# HG changeset patch # User Igor Sysoev # Date 1168542826 0 # Node ID 06306a20b8bbe13d0fb9a53ce5d959cb79410878 # Parent ee25c79bea34d1bd1b2dd9e86f0f1251962ab960 fix slab allocator on 64-bit platfroms diff --git a/src/core/ngx_slab.c b/src/core/ngx_slab.c --- a/src/core/ngx_slab.c +++ b/src/core/ngx_slab.c @@ -421,8 +421,8 @@ void ngx_slab_free_locked(ngx_slab_pool_t *pool, void *p) { size_t size; - uintptr_t slab, *bitmap; - ngx_uint_t n, m, type, slot, shift, map; + uintptr_t slab, m, *bitmap; + ngx_uint_t n, type, slot, shift, map; ngx_slab_page_t *slots, *page; ngx_log_debug1(NGX_LOG_DEBUG_ALLOC, ngx_cycle->log, 0, "slab free: %p", p);