]> git.kaiwu.me - nginx.git/commitdiff
fix slab allocator on 64-bit platfroms
authorIgor Sysoev <igor@sysoev.ru>
Thu, 11 Jan 2007 19:13:46 +0000 (19:13 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Thu, 11 Jan 2007 19:13:46 +0000 (19:13 +0000)
src/core/ngx_slab.c

index c38d0f3abed1ae5f111513d62380e5aa73a7ffd8..daf563913598541c5f85b3a7239a484aa3d58c7d 100644 (file)
@@ -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);