summaryrefslogtreecommitdiff
path: root/libguile/struct.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/struct.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/struct.c')
-rw-r--r--libguile/struct.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libguile/struct.c b/libguile/struct.c
index 16bea0157..44bdd5131 100644
--- a/libguile/struct.c
+++ b/libguile/struct.c
@@ -777,9 +777,9 @@ scm_print_struct (SCM exp, SCM port, scm_print_state *pstate)
else
scm_puts ("struct", port);
scm_putc (' ', port);
- scm_intprint (SCM_UNPACK (vtable), 16, port);
+ scm_uintprint (SCM_UNPACK (vtable), 16, port);
scm_putc (':', port);
- scm_intprint (SCM_UNPACK (exp), 16, port);
+ scm_uintprint (SCM_UNPACK (exp), 16, port);
scm_putc ('>', port);
}
}