From 295b94de9a78dbeb80fd6d4de338f709c9474ee1 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Thu, 11 Jan 2007 19:13:46 +0000 Subject: [PATCH] fix slab allocator on 64-bit platfroms --- src/core/ngx_slab.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/ngx_slab.c b/src/core/ngx_slab.c index c38d0f3ab..daf563913 100644 --- 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);