Parenthesize the usage of the macro argument within vec_search() macro definition

Change-Id: I488d7c2b864c0e3661c8abf0363e4b97984d4974
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
This commit is contained in:
Andrew Yourtchenko
2017-06-20 12:26:23 +02:00
committed by Neale Ranns
parent 1e8db5fb6f
commit f908a0350a

View File

@ -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)++; \
} \