Gui/Mod: replace several reinterpret_cast with static_cast

This commit is contained in:
wmayer
2022-06-25 11:36:55 +02:00
parent 814de93e36
commit d5340a82ab
33 changed files with 64 additions and 66 deletions

View File

@@ -881,7 +881,7 @@ Py::Object SoQtOffscreenRendererPy::render(const Py::Tuple& args)
try {
void* ptr = nullptr;
Base::Interpreter().convertSWIGPointerObj("pivy.coin", "SoNode *", proxy, &ptr, 0);
SoNode* node = reinterpret_cast<SoNode*>(ptr);
SoNode* node = static_cast<SoNode*>(ptr);
bool ok = false;
if (node) {
ok = renderer.render(node);