aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 1994d81cdb3..de90abf0c61 100644
--- a/src/vppinfra/vec.h
+++ b/src/vppinfra/vec.h
@@ -943,7 +943,7 @@ do { \
word _v(i) = 0; \
while (_v(i) < vec_len(v)) \
{ \
- if (v[_v(i)] == E) \
+ if ((v)[_v(i)] == E) \
break; \
_v(i)++; \
} \