Gui: Replace C cast
This commit is contained in:
committed by
Chris Hennes
parent
209c78d43e
commit
ff1b4eff05
@@ -509,7 +509,7 @@ PyObject* ViewProviderPy::getDetailPath(PyObject* args)
|
||||
}
|
||||
if(!det)
|
||||
Py_Return;
|
||||
return Base::Interpreter().createSWIGPointerObj("pivy.coin", "_p_SoDetail", (void*)det, 0);
|
||||
return Base::Interpreter().createSWIGPointerObj("pivy.coin", "_p_SoDetail", static_cast<void*>(det), 0);
|
||||
}
|
||||
|
||||
PyObject *ViewProviderPy::signalChangeIcon(PyObject *args)
|
||||
|
||||
Reference in New Issue
Block a user