aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/thread_openbsd.c
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2013-03-01 08:30:11 -0500
committerRuss Cox <rsc@golang.org>2013-03-01 08:30:11 -0500
commitc5f694a5c9d210b83b82f52931e1d46b3e25393d (patch)
tree20a8c0a739446a62d43451ea6b2806d53affa247 /src/pkg/runtime/thread_openbsd.c
parent8d732368c234a6c4ab2ad6c880ccbe978c6c376c (diff)
downloadgo-c5f694a5c9d210b83b82f52931e1d46b3e25393d.tar.xz
runtime: fix new scheduler on freebsd, windows
R=devon.odell CC=golang-dev https://golang.org/cl/7443046
Diffstat (limited to 'src/pkg/runtime/thread_openbsd.c')
-rw-r--r--src/pkg/runtime/thread_openbsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/thread_openbsd.c b/src/pkg/runtime/thread_openbsd.c
index 525dc697e0..f35c3bb441 100644
--- a/src/pkg/runtime/thread_openbsd.c
+++ b/src/pkg/runtime/thread_openbsd.c
@@ -132,7 +132,7 @@ runtime·newosproc(M *mp, G *gp, void *stk, void (*fn)(void))
if(0) {
runtime·printf(
"newosproc stk=%p m=%p g=%p fn=%p id=%d/%d ostk=%p\n",
- stk, mp, gp, fn, mp->id, mp->tls[0], &mp);
+ stk, mp, gp, fn, mp->id, (int32)mp->tls[0], &mp);
}
mp->tls[0] = mp->id; // so 386 asm can find it