aboutsummaryrefslogtreecommitdiffstats
path: root/src/vppinfra
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2017-06-05 21:53:39 +0200
committerFlorin Coras <florin.coras@gmail.com>2017-06-05 23:39:22 +0000
commit7d272181746909e7ab3a42baa5e4bb0be3575cc1 (patch)
tree086ab54e9fab46a99405970f3c3a157660b082ad /src/vppinfra
parent6fa74c60ea5930864750d64005b213647f12fe08 (diff)
vppinfra: fix vec_validate_init_empty_aligned macro
Change-Id: Ieafd00c7d03fe5c090808c7af4aa2f86974a092e Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vppinfra')
-rw-r--r--src/vppinfra/vec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vppinfra/vec.h b/src/vppinfra/vec.h
index d70e9ce1276..1994d81cdb3 100644
--- a/src/vppinfra/vec.h
+++ b/src/vppinfra/vec.h
@@ -495,7 +495,7 @@ do { \
@param A alignment (may be zero)
@return V (value-result macro parameter)
*/
-#define vec_validate_init_empty_aligned(V,I,A) \
+#define vec_validate_init_empty_aligned(V,I,INIT,A) \
vec_validate_init_empty_ha(V,I,INIT,0,A)
/** \brief Add 1 element to end of vector (general version).