diff --git a/source/blender/blenlib/BLI_array.h b/source/blender/blenlib/BLI_array.h index 50febc50392..a73227490c6 100644 --- a/source/blender/blenlib/BLI_array.h +++ b/source/blender/blenlib/BLI_array.h @@ -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))