Skip to content

Commit 70e5ce7

Browse files
committed
More jit fixes
1 parent 8e1b20a commit 70e5ce7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/optimizer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ _PyJit_translate_single_bytecode_to_trace(
597597
uint32_t target = 0;
598598

599599
target = Py_IsNone((PyObject *)old_code)
600-
? (int)(target_instr - _Py_INTERPRETER_TRAMPOLINE_INSTRUCTIONS_PTR)
600+
? (uint32_t)(target_instr - _Py_INTERPRETER_TRAMPOLINE_INSTRUCTIONS_PTR)
601601
: INSTR_IP(target_instr, old_code);
602602

603603
// Rewind EXTENDED_ARG so that we see the whole thing.

0 commit comments

Comments
 (0)