From c0ebb826fa73a28bdeedaf0e982ff97a80b60d08 Mon Sep 17 00:00:00 2001 From: Stephen Swaney Date: Sat, 19 Mar 2005 21:28:40 +0000 Subject: [PATCH] fix warning: initialization makes integer from pointer without a cast --- source/blender/python/api2_2x/Object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") );