vppinfra: fix clib_fifo_elt_at_index

Type: fix

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I4924420b827bdf7d161a1f723c2bfd5370d43772
This commit is contained in:
Florin Coras
2021-12-14 19:30:04 -08:00
committed by Damjan Marion
parent 0b1a375846
commit 1413a38a68

View File

@ -274,7 +274,7 @@ clib_fifo_elt_index (void *v, uword i)
return result;
}
#define clib_fifo_elt_at_index(v,i) ((v) + clib_fifo_elt_index (v, (i)))
#define clib_fifo_elt_at_index(v, i) ((v) + (i))
#define clib_fifo_foreach(v,f,body) \
do { \