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:
authorJoseph Gilbert <ascotan@gmail.com>2006-01-03 19:27:34 +0300
committerJoseph Gilbert <ascotan@gmail.com>2006-01-03 19:27:34 +0300
commit5233f735892eb97426612d602c8373325019558e (patch)
tree0d17f5f71445963ae2a0c40b898f72dc81c1ba14 /source/blender/python/api2_2x/BezTriple.c
parent700ff0193b538a4f97dc33a803ddde4f635a76d0 (diff)
*warnings fixes
- fixes a number of warnings in bpy project
Diffstat (limited to 'source/blender/python/api2_2x/BezTriple.c')
-rw-r--r--source/blender/python/api2_2x/BezTriple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/BezTriple.c b/source/blender/python/api2_2x/BezTriple.c
index 1e835b3f316..3d610e38fd6 100644
--- a/source/blender/python/api2_2x/BezTriple.c
+++ b/source/blender/python/api2_2x/BezTriple.c
@@ -169,7 +169,7 @@ static PyObject *M_BezTriple_New( PyObject* self, PyObject * args )
Py_DECREF(item);
if( !pyfloat )
goto TypeError;
- numbuf[i]=PyFloat_AS_DOUBLE(pyfloat);
+ numbuf[i]=(float)PyFloat_AS_DOUBLE(pyfloat);
Py_DECREF(pyfloat);
}