Change Py::Int to Py::Long
This commit is contained in:
@@ -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"));
|
||||
|
||||
Reference in New Issue
Block a user