HCoop
/
bpt
/
guile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0100535
)
* print.c (grow_ref_stack): Pass a INUM to scm_make_vector as the
author
Marius Vollmer
<mvo@zagadka.de>
Wed, 18 Oct 2000 21:05:57 +0000
(21:05 +0000)
committer
Marius Vollmer
<mvo@zagadka.de>
Wed, 18 Oct 2000 21:05:57 +0000
(21:05 +0000)
size, not a naked int. Thanks to Brat Knotwell!
libguile/print.c
patch
|
blob
|
blame
|
history
diff --git
a/libguile/print.c
b/libguile/print.c
index
9bd4478
..
3787418
100644
(file)
--- a/
libguile/print.c
+++ b/
libguile/print.c
@@
-262,7
+262,7
@@
grow_ref_stack (scm_print_state *pstate)
unsigned long int old_size = SCM_VECTOR_LENGTH (pstate->ref_vect);
SCM *old_elts = SCM_VELTS (pstate->ref_vect);
unsigned long int new_size = 2 * pstate->ceiling;
- SCM new_vect = scm_make_vector (
new_size
, SCM_UNDEFINED);
+ SCM new_vect = scm_make_vector (
SCM_MAKINUM (new_size)
, SCM_UNDEFINED);
SCM *new_elts = SCM_VELTS (new_vect);
unsigned long int i;