Skip to content

Commit eebea7e

Browse files
authored
gh-117176: Fix compiler warning in Python/optimizer_bytecodes.c (GH-117199)
1 parent 83485a0 commit eebea7e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Python/optimizer_bytecodes.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ dummy_func(void) {
545545

546546
PyCodeObject *co = NULL;
547547
assert((this_instr + 2)->opcode == _PUSH_FRAME);
548-
uintptr_t push_operand = (this_instr + 2)->operand;
548+
uint64_t push_operand = (this_instr + 2)->operand;
549549
if (push_operand & 1) {
550550
co = (PyCodeObject *)(push_operand & ~1);
551551
DPRINTF(3, "code=%p ", co);

Python/optimizer_cases.c.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)