]> Nishi Git Mirror - gwion.git/commitdiff
:art: Remove useless cast
authorfennecdjay <astor.jeremie@wanadoo.fr>
Sun, 20 Oct 2019 14:44:27 +0000 (16:44 +0200)
committerfennecdjay <astor.jeremie@wanadoo.fr>
Sun, 20 Oct 2019 14:44:27 +0000 (16:44 +0200)
src/emit/emitter.c

index 060b18ec6f027ff59eea6cdf3056d501ecbe79dd..d5c19dd8904b4835c1ea0f55df20df3772d5a9ab 100644 (file)
@@ -45,7 +45,7 @@ ANN2(1) Instr emit_add_instr(const Emitter emit, const f_instr f) {
   if((m_uint)f < 255)
     instr->opcode = (m_uint)f;
   else {
-    instr->opcode = (m_uint)OP_MAX;
+    instr->opcode = eOP_MAX;
     instr->execute = f;
   }
   vector_add(&emit->code->instr, (vtype)instr);