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:
5bfb683
)
Fix sizeof() nitpick for goops corruption.
author
Han-Wen Nienhuys
<hanwen@lilypond.org>
Mon, 18 Aug 2008 14:02:43 +0000
(11:02 -0300)
committer
Han-Wen Nienhuys
<hanwen@xs4all.nl>
Mon, 18 Aug 2008 14:19:59 +0000
(11:19 -0300)
libguile/goops.c
patch
|
blob
|
blame
|
history
diff --git
a/libguile/goops.c
b/libguile/goops.c
index
cc610fa
..
8f298c5
100644
(file)
--- a/
libguile/goops.c
+++ b/
libguile/goops.c
@@
-1709,7
+1709,7
@@
go_to_hell (void *o)
if (n_hell >= hell_size)
{
hell_size *= 2;
- hell = scm_realloc (hell, hell_size * sizeof(
scm_t_bits
));
+ hell = scm_realloc (hell, hell_size * sizeof(
*hell
));
}
hell[n_hell++] = SCM_STRUCT_DATA (obj);
scm_unlock_mutex (hell_mutex);