Skip to content

Commit 6a8d3c5

Browse files
authored
GH-98686: Fix compiler warning for HAS_ARG (GH-99106)
1 parent 7a020b8 commit 6a8d3c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/ceval.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ lltrace_instruction(_PyInterpreterFrame *frame,
143143
const char *opname = _PyOpcode_OpName[opcode];
144144
assert(opname != NULL);
145145
int offset = (int)(next_instr - _PyCode_CODE(frame->f_code));
146-
if (HAS_ARG(_PyOpcode_Deopt[opcode])) {
146+
if (HAS_ARG((int)_PyOpcode_Deopt[opcode])) {
147147
printf("%d: %s %d\n", offset * 2, opname, oparg);
148148
}
149149
else {

0 commit comments

Comments
 (0)