summaryrefslogtreecommitdiff
path: root/libguile/mallocs.c
diff options
context:
space:
mode:
authorMarius Vollmer <mvo@zagadka.de>2004-10-22 15:13:12 +0000
committerMarius Vollmer <mvo@zagadka.de>2004-10-22 15:13:12 +0000
commit0345e278f43844aba474016cbabe3383ff74a37e (patch)
tree05bae74ab0b8611148bffd0d5f777174be4b3e74 /libguile/mallocs.c
parentf27d2057275751d6f028e122aac490c24dd2e2bd (diff)
downloadguile-0345e278f43844aba474016cbabe3383ff74a37e.tar.gz
* variable.c, threads.c, struct.c, stackchk.c, smob.c, root.c,
print.c, ports.c, mallocs.c, hooks.c, hashtab.c, fports.c, guardians.c, filesys.c, coop-pthreads.c, continuations.c: Use scm_uintprint to print unsigned integers, raw heap words, and adresses, using a cast to scm_t_bits to turn pointers into integers.
Diffstat (limited to 'libguile/mallocs.c')
-rw-r--r--libguile/mallocs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/mallocs.c b/libguile/mallocs.c
index c1fe4c9f4..da36c39dc 100644
--- a/libguile/mallocs.c
+++ b/libguile/mallocs.c
@@ -54,7 +54,7 @@ static int
malloc_print (SCM exp, SCM port, scm_print_state *pstate SCM_UNUSED)
{
scm_puts("#<malloc ", port);
- scm_intprint (SCM_SMOB_DATA (exp), 16, port);
+ scm_uintprint (SCM_SMOB_DATA (exp), 16, port);
scm_putc('>', port);
return 1;
}