aboutsummaryrefslogtreecommitdiffstats
path: root/src/vppinfra/heap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vppinfra/heap.h')
-rw-r--r--src/vppinfra/heap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vppinfra/heap.h b/src/vppinfra/heap.h
index 8c1aae46ebf..70e34cb4eb3 100644
--- a/src/vppinfra/heap.h
+++ b/src/vppinfra/heap.h
@@ -220,7 +220,7 @@ uword heap_bytes (void *v);
always_inline void *
_heap_new (u32 len, u32 n_elt_bytes)
{
- void *v = _vec_resize (0, len, (uword) len * n_elt_bytes,
+ void *v = _vec_resize ((void *) 0, len, (uword) len * n_elt_bytes,
sizeof (heap_header_t),
HEAP_DATA_ALIGN);
heap_header (v)->elt_bytes = n_elt_bytes;