From 6a8d3c57afd6729c410fa17cf0efc08d1b065e15 Mon Sep 17 00:00:00 2001 From: Brandt Bucher Date: Fri, 4 Nov 2022 16:54:32 -0700 Subject: GH-98686: Fix compiler warning for HAS_ARG (GH-99106) --- Python/ceval.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/ceval.c b/Python/ceval.c index 54f2282..85011af 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -143,7 +143,7 @@ lltrace_instruction(_PyInterpreterFrame *frame, const char *opname = _PyOpcode_OpName[opcode]; assert(opname != NULL); int offset = (int)(next_instr - _PyCode_CODE(frame->f_code)); - if (HAS_ARG(_PyOpcode_Deopt[opcode])) { + if (HAS_ARG((int)_PyOpcode_Deopt[opcode])) { printf("%d: %s %d\n", offset * 2, opname, oparg); } else { -- cgit v0.12