diff options
| author | Keith Randall <khr@golang.org> | 2014-07-30 09:18:00 -0700 |
|---|---|---|
| committer | Keith Randall <khr@golang.org> | 2014-07-30 09:18:00 -0700 |
| commit | d703ac338e86cefc1219e47a4055e66fb392cc21 (patch) | |
| tree | 01844de2e24bff2c212f106e1f0f65ea9f954497 /src/pkg/runtime | |
| parent | 4aa50434e13d12eb9755a992d6d4ad93e201d624 (diff) | |
| download | go-d703ac338e86cefc1219e47a4055e66fb392cc21.tar.xz | |
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
Diffstat (limited to 'src/pkg/runtime')
| -rw-r--r-- | src/pkg/runtime/os_freebsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/os_freebsd.c b/src/pkg/runtime/os_freebsd.c index 9299dbdc04..367fe0ba0d 100644 --- a/src/pkg/runtime/os_freebsd.c +++ b/src/pkg/runtime/os_freebsd.c @@ -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; |
