From 67486cb26f44cc93d5852948fe63560ddc9bd25c Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Sat, 6 Jun 2020 11:31:01 +0200 Subject: [PATCH] :art: Fix compiler warning --- src/lib/array.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.43.0