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 3a73f90 commit 2123dacCopy full SHA for 2123dac
Python/bytecodes.c
@@ -197,7 +197,7 @@ dummy_func(
197
_Py_CODEUNIT *bytecode =
198
_PyEval_GetExecutableCode(tstate, _PyFrame_GetCode(frame));
199
ERROR_IF(bytecode == NULL, error);
200
- int off = (int)(this_instr - _PyFrame_GetBytecode(frame));
+ ptrdiff_t off = this_instr - _PyFrame_GetBytecode(frame);
201
frame->tlbc_index = ((_PyThreadStateImpl *)tstate)->tlbc_index;
202
frame->instr_ptr = bytecode + off;
203
// Make sure this_instr gets reset correctley for any uops that
0 commit comments