summaryrefslogtreecommitdiffstats
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 22fc335c072..8b430644dbd 100644
--- a/src/vppinfra/heap.h
+++ b/src/vppinfra/heap.h
@@ -160,7 +160,7 @@ typedef struct
always_inline heap_header_t *
heap_header (void *v)
{
- return vec_header (v, sizeof (heap_header_t));
+ return vec_header (v);
}
always_inline uword