]> Cypherpunks repositories - gostls13.git/commit
Add an intptr type to runtime; needed in FreeBSD
authorDevon H. O'Dell <devon.odell@gmail.com>
Wed, 18 Nov 2009 17:11:39 +0000 (09:11 -0800)
committerRuss Cox <rsc@golang.org>
Wed, 18 Nov 2009 17:11:39 +0000 (09:11 -0800)
commit659780b64323a5da3ff739c82d7d4c8efec21c39
tree9da5c69f2080289612e527f7251c029f51fe8a50
parent43bcf47912c3b0f565597ee33d86695e530d79da
Add an intptr type to runtime; needed in FreeBSD

In thread.c, we need to cast to whatever the native
size of intptr is on the system, but we only have
uintptr available. They're the same size, but can't
do signed casts without this one :).

R=rsc
CC=golang-dev
https://golang.org/cl/156073
src/pkg/runtime/freebsd/thread.c
src/pkg/runtime/runtime.h