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:
authorStephen Swaney <sswaney@centurytel.net>2005-03-20 00:28:40 +0300
committerStephen Swaney <sswaney@centurytel.net>2005-03-20 00:28:40 +0300
commitc0ebb826fa73a28bdeedaf0e982ff97a80b60d08 (patch)
tree72b398a64fe06e55d72c4bf78c63d8fdd46615d8 /source/blender/python/api2_2x/Object.c
parent8e92ee86842246c036481bc8a2318ad4c8481b92 (diff)
fix warning: initialization makes integer from pointer without a cast
Diffstat (limited to 'source/blender/python/api2_2x/Object.c')
-rw-r--r--source/blender/python/api2_2x/Object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Object.c b/source/blender/python/api2_2x/Object.c
index 74246bf674c..345e492fd63 100644
--- a/source/blender/python/api2_2x/Object.c
+++ b/source/blender/python/api2_2x/Object.c
@@ -2031,7 +2031,7 @@ static PyObject *Object_getDupliVerts ( BPy_Object * self ) {
}
static PyObject *Object_setDupliVerts ( BPy_Object * self, PyObject * args ) {
- int setting= NULL;
+ int setting= 0;
if( !PyArg_ParseTuple( args, "i", &setting ) ) {
return ( EXPP_ReturnPyObjError( PyExc_AttributeError,
"expected a string") );