diff options
Diffstat (limited to 'src/libthread/create.c')
| -rw-r--r-- | src/libthread/create.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libthread/create.c b/src/libthread/create.c index 518eaae6..a8647f94 100644 --- a/src/libthread/create.c +++ b/src/libthread/create.c @@ -25,7 +25,7 @@ newthread(Proc *p, void (*f)(void *arg), void *arg, uint stacksize, char *name, sysfatal("bad stacksize %d", stacksize); t = _threadmalloc(sizeof(Thread), 1); s = _threadmalloc(stacksize, 0); - t->stk = (char*)s; + t->stk = (uchar*)s; t->stksize = stacksize; _threaddebugmemset(s, 0xFE, stacksize); _threadinitstack(t, f, arg); |
