Change Py::Int to Py::Long

This commit is contained in:
theo-vt
2025-07-24 17:21:04 -04:00
committed by Chris Hennes
parent 32eee15223
commit 3896e2daae

View File

@@ -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"));