diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-09-20 13:27:09 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-09-23 17:02:23 +0300 |
commit | c8200c000af0943e4d3545965a4fdb57d485c898 (patch) | |
tree | 14def22d2ce0cf251a85cc346ed55d1c2f76effb | |
parent | 74b210387f2efd81ebe9da23bb7b856236712159 (diff) |
fix build error w/ clang
-rw-r--r-- | source/blender/makesdna/DNA_meshdata_types.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_meshdata_types.h b/source/blender/makesdna/DNA_meshdata_types.h index e5cb222bdd8..59e6f28804a 100644 --- a/source/blender/makesdna/DNA_meshdata_types.h +++ b/source/blender/makesdna/DNA_meshdata_types.h @@ -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 */ |