From 3987e6345a5597f214634f74255b67941a752045 Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Thu, 26 Sep 2019 02:33:56 +0200 Subject: [PATCH] :shirt: Remove compiler_warnings --- src/vm/vm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vm/vm.c b/src/vm/vm.c index d6313b24..75a9f40f 100644 --- a/src/vm/vm.c +++ b/src/vm/vm.c @@ -117,7 +117,7 @@ ANN static inline m_bool overflow_(const m_bit* mem, const VM_Shred c) { ANN static inline VM_Shred init_spork_shred(const VM_Shred shred, const VM_Code code) { const VM_Shred sh = new_shred_base(shred, code); vm_add_shred(shred->info->vm, sh); - vector_add(&shred->gc, sh->info->me); + vector_add(&shred->gc, (vtype)sh->info->me); sh->tick->parent = shred->tick; if(!shred->tick->child.ptr) vector_init(&shred->tick->child); @@ -129,7 +129,7 @@ ANN static inline VM_Shred init_fork_shred(const VM_Shred shred, const VM_Code c const VM_Shred sh = new_shred_base(shred, code); vm_fork(shred->info->vm, sh); assert(sh->info->me); - vector_add(&shred->gc, sh->info->me); + vector_add(&shred->gc, (vtype)sh->info->me); return sh; } -- 2.43.0