summaryrefslogtreecommitdiffstats
path: root/Python/optimizer_bytecodes.c
diff options
context:
space:
mode:
authorKirill Podoprigora <kirill.bast9@mail.ru>2024-03-24 18:34:55 (GMT)
committerGitHub <noreply@github.com>2024-03-24 18:34:55 (GMT)
commiteebea7e515462b503632ada74923ec3246599c9c (patch)
treea17e7a5fc71960932429c1a79673a48ef6a800e7 /Python/optimizer_bytecodes.c
parent83485a095363dad6c97b19af2826ca0c34343bfc (diff)
downloadcpython-eebea7e515462b503632ada74923ec3246599c9c.zip
cpython-eebea7e515462b503632ada74923ec3246599c9c.tar.gz
cpython-eebea7e515462b503632ada74923ec3246599c9c.tar.bz2
gh-117176: Fix compiler warning in Python/optimizer_bytecodes.c (GH-117199)
Diffstat (limited to 'Python/optimizer_bytecodes.c')
-rw-r--r--Python/optimizer_bytecodes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/optimizer_bytecodes.c b/Python/optimizer_bytecodes.c
index e761b1b..e38428a 100644
--- a/Python/optimizer_bytecodes.c
+++ b/Python/optimizer_bytecodes.c
@@ -545,7 +545,7 @@ dummy_func(void) {
PyCodeObject *co = NULL;
assert((this_instr + 2)->opcode == _PUSH_FRAME);
- uintptr_t push_operand = (this_instr + 2)->operand;
+ uint64_t push_operand = (this_instr + 2)->operand;
if (push_operand & 1) {
co = (PyCodeObject *)(push_operand & ~1);
DPRINTF(3, "code=%p ", co);