mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +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:
parent
00fbdfa734
commit
ad91517da1
1 changed files with 1 additions and 1 deletions
|
@ -323,7 +323,7 @@ scm_dynthrow (SCM cont, uint8_t *mra)
|
||||||
|
|
||||||
#if SCM_STACK_GROWS_UP
|
#if SCM_STACK_GROWS_UP
|
||||||
if (dst + continuation->num_stack_items >= &stack_top_element)
|
if (dst + continuation->num_stack_items >= &stack_top_element)
|
||||||
grow_stack (cont);
|
grow_stack (cont, mra);
|
||||||
#else
|
#else
|
||||||
dst -= continuation->num_stack_items;
|
dst -= continuation->num_stack_items;
|
||||||
if (dst <= &stack_top_element)
|
if (dst <= &stack_top_element)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue