mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-06 15:40:29 +02:00
* continuations.c (scm_make_cont): Removed cast of size_t into
long.
This commit is contained in:
parent
7284d58470
commit
d3952a0527
1 changed files with 3 additions and 2 deletions
|
@ -102,8 +102,9 @@ scm_make_cont (SCM *answer)
|
|||
SCM_FLUSH_REGISTER_WINDOWS;
|
||||
j = scm_stack_size (SCM_BASE (scm_rootcont));
|
||||
SCM_SETJMPBUF (cont,
|
||||
scm_must_malloc ((long) (sizeof (scm_contregs) + j * sizeof (SCM_STACKITEM)),
|
||||
s_cont));
|
||||
scm_must_malloc (sizeof (scm_contregs)
|
||||
+ j * sizeof (SCM_STACKITEM),
|
||||
s_cont));
|
||||
SCM_DYNENV (cont) = scm_dynwinds;
|
||||
SCM_THROW_VALUE (cont) = SCM_EOL;
|
||||
src = SCM_BASE (cont) = SCM_BASE (scm_rootcont);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue