diff options
author | Brandt Bucher <brandtbucher@microsoft.com> | 2022-11-04 16:54:32 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-04 16:54:32 -0700 |
commit | 6a8d3c57afd6729c410fa17cf0efc08d1b065e15 (patch) | |
tree | 871f33f2add713cb59ee1f56876acdad490d8f55 /Python/ceval.c | |
parent | 7a020b8e5b1bfabfa57789be489b81eba5baa623 (diff) | |
download | cpython-git-6a8d3c57afd6729c410fa17cf0efc08d1b065e15.tar.gz |
GH-98686: Fix compiler warning for HAS_ARG (GH-99106)
Diffstat (limited to 'Python/ceval.c')
-rw-r--r-- | Python/ceval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index 54f2282268..85011afadf 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 { |