diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-01-20 12:43:44 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-01-20 12:43:44 +0400 |
commit | 8aa891ac6dd12e530817efff912beebd695d91e8 (patch) | |
tree | 7e3bd3ad7c1d20909d901994eeffd58b23a36507 /source/blender/blenlib/BLI_array.h | |
parent | bc44e81dfff0b185e5d6639a9b54499c20c1524a (diff) |
correction for msvc2008
Diffstat (limited to 'source/blender/blenlib/BLI_array.h')
-rw-r--r-- | source/blender/blenlib/BLI_array.h | 3 |
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)) |