diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-01-20 19:42:55 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-01-20 19:43:13 +0300 |
commit | cdaed4d360e77f20c51e21a7b3fc800c3ca92afc (patch) | |
tree | 10329ac201eb3e6aff6c9e376dae373c2d8cdb2c /source/blender/blenlib/intern/math_vector_inline.c | |
parent | 8aa8165e85d4abcf9025c687863d0c41bc41a348 (diff) |
Fix compilation error with strict flags and gcc-6
Diffstat (limited to 'source/blender/blenlib/intern/math_vector_inline.c')
-rw-r--r-- | source/blender/blenlib/intern/math_vector_inline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/math_vector_inline.c b/source/blender/blenlib/intern/math_vector_inline.c index ee5e8651bd3..4389cd29034 100644 --- a/source/blender/blenlib/intern/math_vector_inline.c +++ b/source/blender/blenlib/intern/math_vector_inline.c @@ -491,7 +491,7 @@ MINLINE void mul_v2_v2_ccw(float r[2], const float mat[2], const float vec[2]) * return co_4d[3]; * \endcode */ -MINLINE float mul_project_m4_v3_zfac(float mat[4][4], const float co[3]) +MINLINE float mul_project_m4_v3_zfac(const float mat[4][4], const float co[3]) { return (mat[0][3] * co[0]) + (mat[1][3] * co[1]) + |