From: Jérémie Astor Date: Sat, 6 Jun 2020 09:31:01 +0000 (+0200) Subject: :art: Fix compiler warning X-Git-Tag: nightly~1487 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=67486cb26f44cc93d5852948fe63560ddc9bd25c;p=gwion.git :art: Fix compiler warning --- diff --git a/src/lib/array.c b/src/lib/array.c index 1a024eca..d9bd19a9 100644 --- a/src/lib/array.c +++ b/src/lib/array.c @@ -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;