diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-09-14 21:13:58 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-09-14 21:13:58 +0400 |
commit | bee18c57d4b674282bf8d51ec0491a79e6b13faa (patch) | |
tree | 8488ca420b84fd1e83c5bbf0ce28899da490c422 /source/blender/python/generic | |
parent | ba5df38d66cd70d64084456ac882df0cae19d880 (diff) |
fix warning
Diffstat (limited to 'source/blender/python/generic')
-rw-r--r-- | source/blender/python/generic/Mathutils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/generic/Mathutils.c b/source/blender/python/generic/Mathutils.c index 32262276d0a..d354aea6614 100644 --- a/source/blender/python/generic/Mathutils.c +++ b/source/blender/python/generic/Mathutils.c @@ -437,7 +437,7 @@ static PyObject *M_Mathutils_RotationMatrix(PyObject * self, PyObject * args) mat[8] = 1.0f; } else if((strcmp(axis, "r") == 0) || (strcmp(axis, "R") == 0)) { //arbitrary rotation - AxisAngleToMat3(vec->vec, angle, (float *)mat); + AxisAngleToMat3(vec->vec, angle, (float (*)[3])mat); } else { PyErr_SetString(PyExc_AttributeError, "Mathutils.RotationMatrix(): unrecognizable axis of rotation type - expected x,y,z or r\n"); |