From c21c9109b208e66715cec74f74e38f79671583ef Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Sat, 27 Feb 2021 19:26:04 +0100 Subject: [PATCH] :art: Fix narrowed type in loop --- src/vm/vm_code.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vm/vm_code.c b/src/vm/vm_code.c index 11ea745b..3c1194c2 100644 --- a/src/vm/vm_code.c +++ b/src/vm/vm_code.c @@ -122,7 +122,7 @@ ANN static m_bit* tobytecode(MemPool p, const VM_Code code) { *const data = final + j*BYTECODE_SZ; memcpy(data, base, BYTECODE_SZ); if(isgoto(opcode)) { - m_bit pc = 0; + m_uint pc = 0; for(pc = 0; pc < vector_size(&nop); ++pc) { if(instr->m_val <= vector_at(&nop, pc)) break; -- 2.43.0