]> Nishi Git Mirror - gwion.git/commitdiff
:art: Fix compiler warning
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Sat, 6 Jun 2020 09:31:01 +0000 (11:31 +0200)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Sat, 6 Jun 2020 09:31:01 +0000 (11:31 +0200)
src/lib/array.c

index 1a024ecaf48d899651b9b260d2efef05c7c45919..d9bd19a90228f2dcaf4abc5f1a8c88ff2192d632 100644 (file)
@@ -458,7 +458,7 @@ INSTR(ArrayAlloc) {
     return; // TODO make exception vararg
   }
   *(void**)(ref->data + SZ_INT) = aai.data;
-  vector_add(&shred->gc, ref);
+  vector_add(&shred->gc, (m_uint)ref);
   if(!is_obj) {
     POP_REG(shred, SZ_INT * (info->depth - 1));
     *(M_Object*)REG(-SZ_INT) = ref;