From: Jérémie Astor Date: Sun, 16 May 2021 13:43:41 +0000 (+0200) Subject: :bug: Fix handle() X-Git-Tag: nightly~653 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=19834f9c31f897d4cb5abf5bc7a00cf93b30fae0;p=gwion.git :bug: Fix handle() --- diff --git a/src/vm/vm.c b/src/vm/vm.c index d16bebf2..931671b5 100644 --- a/src/vm/vm.c +++ b/src/vm/vm.c @@ -80,7 +80,7 @@ ANN static bool unwind(VM_Shred shred, const Symbol effect, const m_uint size) { if(shred->mem == (m_bit*)shred + sizeof(struct VM_Shred_) + SIZEOF_REG) return true; shred_unwind(shred); - return unwind(shred, effect, size - 2); + return unwind(shred, effect, size - 1); } ANN static void trace(VM_Shred shred, const m_uint size) {