From 10211b284cbf48ffb4be7bdd8d26c839146b8251 Mon Sep 17 00:00:00 2001 From: marioalexis Date: Fri, 17 Jun 2022 12:12:55 -0300 Subject: [PATCH] Points: Replace C cast --- src/Mod/Points/App/PropertyPointKernel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Points/App/PropertyPointKernel.cpp b/src/Mod/Points/App/PropertyPointKernel.cpp index 7a8289bd39..162afffe06 100644 --- a/src/Mod/Points/App/PropertyPointKernel.cpp +++ b/src/Mod/Points/App/PropertyPointKernel.cpp @@ -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(value); setValue( *(pcObject->getPointKernelPtr())); } else {