summaryrefslogtreecommitdiffstats
path: root/Python/bytecodes.c
diff options
context:
space:
mode:
authorAN Long <aisk@users.noreply.github.com>2025-09-03 14:42:26 (GMT)
committerGitHub <noreply@github.com>2025-09-03 14:42:26 (GMT)
commit1ff2cbbac85e59ca675cc482b5bbe1aaf1fac5b2 (patch)
treefdb6aa10cf60042d238998c0294bc465c49baa19 /Python/bytecodes.c
parent34ed03875a786879fe292fe472142ae0f3da0e80 (diff)
downloadcpython-1ff2cbbac85e59ca675cc482b5bbe1aaf1fac5b2.zip
cpython-1ff2cbbac85e59ca675cc482b5bbe1aaf1fac5b2.tar.gz
cpython-1ff2cbbac85e59ca675cc482b5bbe1aaf1fac5b2.tar.bz2
gh-137136: Suppress build warnings when build on Windows with --experimental-jit-interpreter (GH-137137)
Diffstat (limited to 'Python/bytecodes.c')
-rw-r--r--Python/bytecodes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/bytecodes.c b/Python/bytecodes.c
index 7f89c31..6c3609d 100644
--- a/Python/bytecodes.c
+++ b/Python/bytecodes.c
@@ -811,7 +811,7 @@ dummy_func(
assert(next_instr->op.code == STORE_FAST);
next_oparg = next_instr->op.arg;
#else
- next_oparg = CURRENT_OPERAND0();
+ next_oparg = (int)CURRENT_OPERAND0();
#endif
_PyStackRef *target_local = &GETLOCAL(next_oparg);
assert(PyUnicode_CheckExact(left_o));
@@ -5250,7 +5250,7 @@ dummy_func(
if (frame->lltrace >= 2) {
printf("SIDE EXIT: [UOp ");
_PyUOpPrint(&next_uop[-1]);
- printf(", exit %lu, temp %d, target %d -> %s]\n",
+ printf(", exit %tu, temp %d, target %d -> %s]\n",
exit - current_executor->exits, exit->temperature.value_and_backoff,
(int)(target - _PyFrame_GetBytecode(frame)),
_PyOpcode_OpName[target->op.code]);