aboutsummaryrefslogtreecommitdiff
path: root/src/libthread/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libthread/thread.c')
-rw-r--r--src/libthread/thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libthread/thread.c b/src/libthread/thread.c
index b5bfed3e..9bd1c527 100644
--- a/src/libthread/thread.c
+++ b/src/libthread/thread.c
@@ -908,7 +908,7 @@ threadinfo(void *v, char *s)
return 0;
for(p=_threadprocs; p; p=p->next){
- fprint(2, "proc %p %s%s\n", (void*)p->osprocid, p->msg,
+ fprint(2, "proc %p %s%s\n", (void*)(uintptr)p->osprocid, p->msg,
p->sysproc ? " (sysproc)": "");
for(t=p->allthreads.head; t; t=t->allnext){
fprint(2, "\tthread %d %s: %s %s\n",