summaryrefslogtreecommitdiff
path: root/libguile/coop-pthreads.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/coop-pthreads.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/coop-pthreads.c')
-rw-r--r--libguile/coop-pthreads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/coop-pthreads.c b/libguile/coop-pthreads.c
index f99417002..844db7403 100644
--- a/libguile/coop-pthreads.c
+++ b/libguile/coop-pthreads.c
@@ -142,7 +142,7 @@ thread_print (SCM exp, SCM port, scm_print_state *pstate SCM_UNUSED)
{
scm_copt_thread *t = SCM_THREAD_DATA (exp);
scm_puts ("#<thread ", port);
- scm_intprint ((unsigned long)t, 16, port);
+ scm_uintprint ((scm_t_bits)t, 16, port);
if (t->pthread != -1)
{
scm_putc (' ', port);