/* keep track of where the element was allocated from */
POOL_DEBUG_SET_MARK(pool, ptr);
- POOL_DEBUG_TRACE_CALLER(pool, item, NULL);
+ POOL_DEBUG_TRACE_CALLER(pool, (struct pool_cache_item *)ptr, NULL);
return ptr;
}
down = ret->down;
/* keep track of where the element was allocated from */
POOL_DEBUG_SET_MARK(pool, ret);
- POOL_DEBUG_TRACE_CALLER(pool, item, NULL);
item = (struct pool_cache_item *)ret;
+ POOL_DEBUG_TRACE_CALLER(pool, item, NULL);
LIST_INSERT(&pch->list, &item->by_pool);
LIST_INSERT(&th_ctx->pool_lru_head, &item->by_lru);
count++;