From 2e2164d5d4449ad7faa320cbbda68a72105903a3 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 20 Jul 2015 22:17:20 +1000 Subject: Resolve compiler warning for clang --- source/blender/blenkernel/BKE_mesh_mapping.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source/blender/blenkernel/BKE_mesh_mapping.h') 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) \ -- cgit v1.2.3