diff options
Diffstat (limited to 'src/libthread/channel.c')
-rw-r--r-- | src/libthread/channel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libthread/channel.c b/src/libthread/channel.c index ce27896b..68eaa95e 100644 --- a/src/libthread/channel.c +++ b/src/libthread/channel.c @@ -497,7 +497,7 @@ altexec(Alt *a, int spl) _threaddebug(DBGCHAN, "unlocking the chanlock"); unlock(&chanlock); _procsplx(spl); - _threaddebug(DBGCHAN, "chanlock is %lud", *(ulong*)&chanlock); + _threaddebug(DBGCHAN, "chanlock is %lud", *(ulong*)(void*)&chanlock); while(_threadrendezvous((ulong)b->tag, 0) == ~0) ; return 1; |