mirror of
https://github.com/golang/go
synced 2024-11-19 05:44:40 -07:00
runtime: fix freebsd build. Assignment is int32* on 32 bit
machines and int64* on 64 bit machines. LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/117330044
This commit is contained in:
parent
4aa50434e1
commit
d703ac338e
@ -110,7 +110,7 @@ runtime·newosproc(M *mp, void *stk)
|
||||
param.stack_base = (void*)mp->g0->stackbase;
|
||||
param.stack_size = (byte*)stk - (byte*)mp->g0->stackbase;
|
||||
|
||||
param.child_tid = (intptr*)&mp->procid;
|
||||
param.child_tid = (void*)&mp->procid;
|
||||
param.parent_tid = nil;
|
||||
param.tls_base = (void*)&mp->tls[0];
|
||||
param.tls_size = sizeof mp->tls;
|
||||
|
Loading…
Reference in New Issue
Block a user