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
committed by
Damjan Marion
parent
0b1a375846
commit
1413a38a68
@ -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 { \
|
||||
|
Reference in New Issue
Block a user