aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_slab.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_slab.c')
-rw-r--r--src/core/ngx_slab.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/ngx_slab.c b/src/core/ngx_slab.c
index fa2a64637..56e7765c0 100644
--- a/src/core/ngx_slab.c
+++ b/src/core/ngx_slab.c
@@ -392,7 +392,8 @@ ngx_slab_alloc_locked(ngx_slab_pool_t *pool, size_t size)
done:
- ngx_log_debug1(NGX_LOG_DEBUG_ALLOC, ngx_cycle->log, 0, "slab alloc: %p", p);
+ ngx_log_debug1(NGX_LOG_DEBUG_ALLOC, ngx_cycle->log, 0,
+ "slab alloc: %p", (void *) p);
return (void *) p;
}