[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH, v2] Fix build on platforms where the stack grows upwards
From: |
John Paul Adrian Glaubitz |
Subject: |
[PATCH, v2] Fix build on platforms where the stack grows upwards |
Date: |
Tue, 4 Feb 2020 13:11:53 +0100 |
* libguile/continuations.c (scm_dynthrow): Fix missing mra
parameter to grow_stack for SCM_STACK_GROWS_UP.
---
libguile/continuations.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
v2:
- Improved grammar in commit message
diff --git a/libguile/continuations.c b/libguile/continuations.c
index 3f86c6bd4..67a47d38c 100644
--- a/libguile/continuations.c
+++ b/libguile/continuations.c
@@ -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)
--
2.25.0
- [PATCH, v2] Fix build on platforms where the stack grows upwards,
John Paul Adrian Glaubitz <=