From: Jérémie Astor Date: Sat, 27 Feb 2021 18:26:04 +0000 (+0100) Subject: :art: Fix narrowed type in loop X-Git-Tag: nightly~911 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=c21c9109b208e66715cec74f74e38f79671583ef;p=gwion.git :art: Fix narrowed type in loop --- 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;