forked from bartvdbraak/blender
fix build error w/ clang
This commit is contained in:
parent
fa19af6a93
commit
d0017eb5f2
@ -452,8 +452,8 @@ enum {
|
||||
* So usage such as array lookup needs to check.
|
||||
*/
|
||||
#define ME_MAT_NR_TEST(mat_nr, totmat) \
|
||||
(CHECK_TYPE_ANY(mat_nr, short), \
|
||||
CHECK_TYPE_ANY(totmat, short), \
|
||||
(CHECK_TYPE_ANY(mat_nr, short, const short), \
|
||||
CHECK_TYPE_ANY(totmat, short, const short), \
|
||||
(LIKELY(mat_nr < totmat) ? mat_nr : 0))
|
||||
|
||||
/* mselect->type */
|
||||
|
Loading…
Reference in New Issue
Block a user