diff src/core/ngx_slab.c @ 1018:06306a20b8bb

fix slab allocator on 64-bit platfroms
author Igor Sysoev <igor@sysoev.ru>
date Thu, 11 Jan 2007 19:13:46 +0000
parents d0e8c81d3bb7
children 31622d9f2c0d
line wrap: on
line diff
--- 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);