Skip to content

Commit

Permalink
pythongh-117176: Fix compiler warning in Python/optimizer_bytecodes.c (
Browse files Browse the repository at this point in the history
  • Loading branch information
Eclips4 authored Mar 24, 2024
1 parent 83485a0 commit eebea7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Python/optimizer_bytecodes.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion Python/optimizer_cases.c.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit eebea7e

Please sign in to comment.