Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2009-09-14 21:13:58 +0400
committerCampbell Barton <ideasman42@gmail.com>2009-09-14 21:13:58 +0400
commitbee18c57d4b674282bf8d51ec0491a79e6b13faa (patch)
tree8488ca420b84fd1e83c5bbf0ce28899da490c422
parentba5df38d66cd70d64084456ac882df0cae19d880 (diff)
fix warning
-rw-r--r--source/blender/python/generic/Mathutils.c2
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");