fix warning: initialization makes integer from pointer without a cast

This commit is contained in:
Stephen Swaney
2005-03-19 21:28:40 +00:00
parent 8e92ee8684
commit c0ebb826fa

View File

@@ -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") );