diff options
author | Stephen Swaney <sswaney@centurytel.net> | 2005-03-20 00:28:40 +0300 |
---|---|---|
committer | Stephen Swaney <sswaney@centurytel.net> | 2005-03-20 00:28:40 +0300 |
commit | c0ebb826fa73a28bdeedaf0e982ff97a80b60d08 (patch) | |
tree | 72b398a64fe06e55d72c4bf78c63d8fdd46615d8 /source/blender/python/api2_2x/Object.c | |
parent | 8e92ee86842246c036481bc8a2318ad4c8481b92 (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.c | 2 |
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") ); |