From: Brandt Bucher Date: Fri, 4 Nov 2022 23:54:32 +0000 (-0700) Subject: GH-98686: Fix compiler warning for HAS_ARG (GH-99106) X-Git-Tag: v3.12.0a2~122 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6a8d3c57afd6729c410fa17cf0efc08d1b065e15;p=thirdparty%2FPython%2Fcpython.git GH-98686: Fix compiler warning for HAS_ARG (GH-99106) --- diff --git a/Python/ceval.c b/Python/ceval.c index 54f228226824..85011afadf7f 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 {