1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-29 19:30:36 +02:00

Fix build on platforms where the stack grows upwards.

* libguile/continuations.c (scm_dynthrow): Fix missing mra
   parameter to grow_stack for SCM_STACK_GROWS_UP.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
John Paul Adrian Glaubitz 2020-02-04 13:11:53 +01:00 committed by Ludovic Courtès
parent 00fbdfa734
commit ad91517da1

View file

@ -323,7 +323,7 @@ scm_dynthrow (SCM cont, uint8_t *mra)
#if SCM_STACK_GROWS_UP
if (dst + continuation->num_stack_items >= &stack_top_element)
grow_stack (cont);
grow_stack (cont, mra);
#else
dst -= continuation->num_stack_items;
if (dst <= &stack_top_element)