Points: Replace C cast

This commit is contained in:
marioalexis
2022-06-17 12:12:55 -03:00
committed by Chris Hennes
parent f4423cfabe
commit 4bf23b89b7

View File

@@ -93,7 +93,7 @@ PyObject *PropertyPointKernel::getPyObject()
void PropertyPointKernel::setPyObject(PyObject *value)
{
if (PyObject_TypeCheck(value, &(PointsPy::Type))) {
PointsPy *pcObject = (PointsPy*)value;
PointsPy *pcObject = static_cast<PointsPy*>(value);
setValue( *(pcObject->getPointKernelPtr()));
}
else {