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:
authorCampbell Barton <ideasman42@gmail.com>2013-01-20 12:43:44 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-01-20 12:43:44 +0400
commit8aa891ac6dd12e530817efff912beebd695d91e8 (patch)
tree7e3bd3ad7c1d20909d901994eeffd58b23a36507 /source/blender/blenlib
parentbc44e81dfff0b185e5d6639a9b54499c20c1524a (diff)
correction for msvc2008
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r--source/blender/blenlib/BLI_array.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_array.h b/source/blender/blenlib/BLI_array.h
index bfbae186c4e..50febc50392 100644
--- a/source/blender/blenlib/BLI_array.h
+++ b/source/blender/blenlib/BLI_array.h
@@ -98,7 +98,8 @@ void _bli_array_grow_func(void **arr_p, const void *arr_static,
(void)0 /* do nothing */ : \
(_bli_array_grow_func((void **)&(arr), _##arr##_static, \
sizeof(*arr), _##arr##_count, num, \
- "BLI_array." #arr))) \
+ "BLI_array." #arr), \
+ (void)0)) /* msvc2008 needs this */ \
), \
/* increment the array count, all conditions above are accounted for. */ \
(_##arr##_count += num))