aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/runtime.h
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2012-09-24 20:57:01 -0400
committerRuss Cox <rsc@golang.org>2012-09-24 20:57:01 -0400
commit10ea6519e4e61d47385ca7b7f60ca96856271de7 (patch)
tree97bbc154b3bb2b0d5807a359f31a7c72550bee5d /src/pkg/runtime/runtime.h
parentf8c58373e53a9399a9ea75f744c717fc59be3839 (diff)
downloadgo-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/runtime.h')
-rw-r--r--src/pkg/runtime/runtime.h4
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;