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>2015-07-20 15:17:20 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-07-20 15:31:19 +0300
commit2e2164d5d4449ad7faa320cbbda68a72105903a3 (patch)
treed69ed80ccc484eea5f3d031d78bc53196ec238cd /source/blender/blenkernel/BKE_mesh_mapping.h
parent87328bde478ba77db4387530c39d21c62c2c0d20 (diff)
Resolve compiler warning for clang
Diffstat (limited to 'source/blender/blenkernel/BKE_mesh_mapping.h')
-rw-r--r--source/blender/blenkernel/BKE_mesh_mapping.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/blenkernel/BKE_mesh_mapping.h b/source/blender/blenkernel/BKE_mesh_mapping.h
index 931db68b5f5..633bd8a2dba 100644
--- a/source/blender/blenkernel/BKE_mesh_mapping.h
+++ b/source/blender/blenkernel/BKE_mesh_mapping.h
@@ -201,8 +201,9 @@ int *BKE_mesh_calc_smoothgroups(
/* use on looptri vertex values */
#define BKE_MESH_TESSTRI_VINDEX_ORDER(_tri, _v) ( \
- (CHECK_TYPE_ANY(_tri, unsigned int *, int *, const unsigned int *, const int *), \
- CHECK_TYPE_ANY(_v, unsigned int, int)), \
+ (CHECK_TYPE_ANY(_tri, unsigned int *, int *, int[3], \
+ const unsigned int *, const int *, const int[3]), \
+ CHECK_TYPE_ANY(_v, unsigned int, const unsigned int, int, const int)), \
(((_tri)[0] == _v) ? 0 : \
((_tri)[1] == _v) ? 1 : \
((_tri)[2] == _v) ? 2 : -1) \