We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 676d639 commit b706936Copy full SHA for b706936
Objects/frameobject.c
@@ -2388,7 +2388,7 @@ PyFrame_GetLasti(PyFrameObject *frame)
2388
Py_BEGIN_CRITICAL_SECTION(frame);
2389
assert(!_PyFrame_IsIncomplete(frame->f_frame));
2390
int lasti = _PyInterpreterFrame_LASTI(frame->f_frame);
2391
- ret = lasti < 0 ? -1 : lasti * sizeof(_Py_CODEUNIT);
+ ret = lasti < 0 ? -1 : lasti * (int)sizeof(_Py_CODEUNIT);
2392
Py_END_CRITICAL_SECTION();
2393
return ret;
2394
}
0 commit comments