diff options
| author | Russ Cox <rsc@golang.org> | 2012-09-24 20:57:01 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2012-09-24 20:57:01 -0400 |
| commit | 10ea6519e4e61d47385ca7b7f60ca96856271de7 (patch) | |
| tree | 97bbc154b3bb2b0d5807a359f31a7c72550bee5d /src/pkg/runtime | |
| parent | f8c58373e53a9399a9ea75f744c717fc59be3839 (diff) | |
| download | go-10ea6519e4e61d47385ca7b7f60ca96856271de7.tar.xz | |
build: make int 64 bits on amd64
The assembly offsets were converted mechanically using
code.google.com/p/rsc/cmd/asmlint. The instruction
changes were done by hand.
Fixes #2188.
R=iant, r, bradfitz, remyoudompheng
CC=golang-dev
https://golang.org/cl/6550058
Diffstat (limited to 'src/pkg/runtime')
| -rw-r--r-- | src/pkg/runtime/runtime.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/runtime/runtime.h b/src/pkg/runtime/runtime.h index 8ae1e175a7..4bcd860168 100644 --- a/src/pkg/runtime/runtime.h +++ b/src/pkg/runtime/runtime.h @@ -19,8 +19,8 @@ typedef double float64; #ifdef _64BIT typedef uint64 uintptr; typedef int64 intptr; -typedef int32 intgo; // Go's int -typedef uint32 uintgo; // Go's uint +typedef int64 intgo; // Go's int +typedef uint64 uintgo; // Go's uint #else typedef uint32 uintptr; typedef int32 intptr; |
