diff options
author | Mikael Djurfeldt <djurfeldt@nada.kth.se> | 2003-05-22 09:16:33 +0000 |
---|---|---|
committer | Mikael Djurfeldt <djurfeldt@nada.kth.se> | 2003-05-22 09:16:33 +0000 |
commit | 79f55b7c6bffcda9d315d27ecfbf60316b79135a (patch) | |
tree | 5dd5f3b6ce1b06c7cd18e0ce9bb8e4e88180f3df /libguile/eval.c | |
parent | d97f609a4a485ccc8359a93ad3254b38a9c29c08 (diff) | |
download | guile-79f55b7c6bffcda9d315d27ecfbf60316b79135a.tar.gz |
* __scm.h (SCM_STACK_PTR): New macro. (Cast argument through
(void *) in order to avoid an aliasing warning; thanks to Bruce
Korb.)
* stackchk.h (SCM_STACK_OVERFLOW_P): Use SCM_STACK_PTR.
* threads.c (suspend, launch_thread, scm_threads_mark_stacks): Use
SCM_STACK_PTR.
* threads.c (scm_threads_mark_stacks): Bugfix: Changed
thread->base --> t->base.
* eval.c (SCM_CEVAL): Don't cast argument of SCM_STACK_OVERFLOW_P.
Diffstat (limited to 'libguile/eval.c')
-rw-r--r-- | libguile/eval.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libguile/eval.c b/libguile/eval.c index b5e06f7b6..82a696cf2 100644 --- a/libguile/eval.c +++ b/libguile/eval.c @@ -1962,8 +1962,7 @@ SCM_CEVAL (SCM x, SCM env) scm_last_debug_frame = &debug; #endif #ifdef EVAL_STACK_CHECKING - if (scm_stack_checking_enabled_p - && SCM_STACK_OVERFLOW_P ((SCM_STACKITEM *) &proc)) + if (scm_stack_checking_enabled_p && SCM_STACK_OVERFLOW_P (&proc)) { #ifdef DEVAL debug.info->e.exp = x; |