summaryrefslogtreecommitdiff
path: root/libguile/stackchk.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/stackchk.c
parentf27d2057275751d6f028e122aac490c24dd2e2bd (diff)
* 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/stackchk.c')
-rw-r--r--libguile/stackchk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libguile/stackchk.c b/libguile/stackchk.c
index 27da77ded..eaedd1c26 100644
--- a/libguile/stackchk.c
+++ b/libguile/stackchk.c
@@ -62,12 +62,12 @@ void
scm_stack_report ()
{
SCM_STACKITEM stack;
- scm_intprint (scm_stack_size (SCM_BASE (scm_rootcont)) * sizeof (SCM_STACKITEM),
+ scm_uintprint (scm_stack_size (SCM_BASE (scm_rootcont)) * sizeof (SCM_STACKITEM),
16, scm_cur_errp);
scm_puts (" of stack: 0x", scm_cur_errp);
- scm_intprint ((long) SCM_BASE (scm_rootcont), 16, scm_cur_errp);
+ scm_uintprint ((scm_t_bits) SCM_BASE (scm_rootcont), 16, scm_cur_errp);
scm_puts (" - 0x", scm_cur_errp);
- scm_intprint ((long) &stack, 16, scm_cur_errp);
+ scm_uintprint ((scm_t_bits) &stack, 16, scm_cur_errp);
scm_puts ("\n", scm_cur_errp);
}