diff options
author | Lukas Tönne <lukas.toenne@gmail.com> | 2015-12-11 18:16:11 +0300 |
---|---|---|
committer | Lukas Tönne <lukas.toenne@gmail.com> | 2015-12-11 18:18:42 +0300 |
commit | 8729e23f2dc245d7c73d98262d3b651b7c284249 (patch) | |
tree | c072a15b303d80a3c6481cabfb792d998dd3a47a /source/blender/modifiers/intern/MOD_meshdeform.c | |
parent | e301fcf8e72ac6539e770000880cd24d460fbd6e (diff) |
Fix for invalid void* to typed pointer assignment in bmesh when used in C++ code.
C++ does not allow the assignment of a void pointer to a typed pointer without
explicit casting. Since we use a generic macro in bmesh for iterators we only
ever get a void* back and cannot cast it to the target type. However, casting
the target to a void* as well solves that issue.
This tweak is #ifdef'd to be used in C++ code only.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_meshdeform.c')
0 files changed, 0 insertions, 0 deletions