diff options
Diffstat (limited to 'src/libthread')
-rw-r--r-- | src/libthread/thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libthread/thread.c b/src/libthread/thread.c index ddd7564c..387b6400 100644 --- a/src/libthread/thread.c +++ b/src/libthread/thread.c @@ -141,7 +141,7 @@ threadalloc(void (*fn)(void*), void *arg, uint stack) y = z; z >>= 16; /* hide undefined 32-bit shift from 32-bit compilers */ x = z>>16; - makecontext(&t->context.uc, (void(*)())threadstart, 2, y, x); + makecontext(&t->context.uc, (void(*)(void))threadstart, 2, y, x); return t; } |