forked from bartvdbraak/blender
minor change r53918 was supposed to resolve.
This commit is contained in:
parent
80410a4ff6
commit
7c75bfd744
@ -96,10 +96,10 @@ void _bli_array_grow_func(void **arr_p, const void *arr_static,
|
||||
/* use existing static array or allocate */ \
|
||||
(LIKELY(_bli_array_totalsize(arr) >= _##arr##_count + num) ? \
|
||||
(void)0 /* do nothing */ : \
|
||||
(_bli_array_grow_func((void **)&(arr), _##arr##_static, \
|
||||
_bli_array_grow_func((void **)&(arr), _##arr##_static, \
|
||||
sizeof(*arr), _##arr##_count, num, \
|
||||
"BLI_array." #arr), \
|
||||
(void)0)) /* msvc2008 needs this */ \
|
||||
(void)0) /* msvc2008 needs this */ \
|
||||
), \
|
||||
/* increment the array count, all conditions above are accounted for. */ \
|
||||
(_##arr##_count += num))
|
||||
|
Loading…
Reference in New Issue
Block a user