From 3896e2daae98c5a26617c9e7ea51c41ec26b8e39 Mon Sep 17 00:00:00 2001 From: theo-vt Date: Thu, 24 Jul 2025 17:21:04 -0400 Subject: [PATCH] Change Py::Int to Py::Long --- src/Gui/ApplicationPy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Gui/ApplicationPy.cpp b/src/Gui/ApplicationPy.cpp index 51eb0e7031..6419adc173 100644 --- a/src/Gui/ApplicationPy.cpp +++ b/src/Gui/ApplicationPy.cpp @@ -1305,7 +1305,7 @@ PyObject* ApplicationPy::sAddCommand(PyObject * /*self*/, PyObject *args) Py::Object callerFrame; Py::Tuple getFrameArgs(1); - getFrameArgs[0] = Py::Int(0); + getFrameArgs[0] = Py::Long(0); callerFrame = getFrame.apply(getFrameArgs); Py::Object codeObj (callerFrame.getAttr("f_code"));