From e015f14e25da9fe93c3cf5d32e91924e80980947 Mon Sep 17 00:00:00 2001 From: Dong-hee Na Date: Sun, 27 Aug 2023 20:56:51 +0900 Subject: [PATCH] nit --- Python/instrumentation.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Python/instrumentation.c b/Python/instrumentation.c index c6f7ebbd28142b..62453e59405f92 100644 --- a/Python/instrumentation.c +++ b/Python/instrumentation.c @@ -1553,8 +1553,8 @@ _Py_Instrument(PyCodeObject *code, PyInterpreterState *interp) if (code->co_executors != NULL && code->co_executors->size > 0 ) { for (int i = 0; i < code_len; i += _PyInstruction_GetLength(code, i)) { _Py_CODEUNIT *instr = &_PyCode_CODE(code)[i]; - int opcode = instr->op.code; - int oparg = instr->op.arg; + uint8_t opcode = instr->op.code; + uint8_t oparg = instr->op.arg; if (opcode == ENTER_EXECUTOR) { _PyExecutorObject *exec = code->co_executors->executors[oparg]; assert(exec->vm_data.opcode != ENTER_EXECUTOR);