summaryrefslogtreecommitdiff
path: root/libguile/hashtab.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/hashtab.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/hashtab.c')
-rw-r--r--libguile/hashtab.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libguile/hashtab.c b/libguile/hashtab.c
index f74526d5a..a2d4c3336 100644
--- a/libguile/hashtab.c
+++ b/libguile/hashtab.c
@@ -193,10 +193,9 @@ hashtable_print (SCM exp, SCM port, scm_print_state *pstate SCM_UNUSED)
else if (SCM_HASHTABLE_DOUBLY_WEAK_P (exp))
scm_puts ("doubly-weak-", port);
scm_puts ("hash-table ", port);
- scm_intprint ((unsigned long) t->n_items, 10, port);
+ scm_uintprint (t->n_items, 10, port);
scm_putc ('/', port);
- scm_intprint ((unsigned long) SCM_VECTOR_LENGTH (SCM_HASHTABLE_VECTOR (exp)),
- 10, port);
+ scm_uintprint (SCM_VECTOR_LENGTH (SCM_HASHTABLE_VECTOR (exp)), 10, port);
scm_puts (">", port);
return 1;
}