Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/blenlib/BLI_array.h')
-rw-r--r--source/blender/blenlib/BLI_array.h4
1 files changed, 2 insertions, 2 deletions
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))