summaryrefslogtreecommitdiff
path: root/libgo
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2012-11-06 18:46:38 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2012-11-06 18:46:38 +0000
commit8273ed8077dfb58c5df5b8a5e2f8b65fb52b56be (patch)
tree7d1aeb00c516c09100f51f0c73af4edac9b0c684 /libgo
parentfb3f38da2a7d45b88c838b3ac55fe40479961790 (diff)
downloadgcc-8273ed8077dfb58c5df5b8a5e2f8b65fb52b56be.tar.gz
compiler, runtime: Size of int is now 64 bits on x86_64.
From-SVN: r193255
Diffstat (limited to 'libgo')
-rw-r--r--libgo/runtime/runtime.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgo/runtime/runtime.h b/libgo/runtime/runtime.h
index 72e1eb2f8b9..6edeae5f9d9 100644
--- a/libgo/runtime/runtime.h
+++ b/libgo/runtime/runtime.h
@@ -41,8 +41,8 @@ typedef double float64 __attribute__ ((mode (DF)));
typedef signed int intptr __attribute__ ((mode (pointer)));
typedef unsigned int uintptr __attribute__ ((mode (pointer)));
-typedef int intgo; // Go's int
-typedef unsigned int uintgo; // Go's uint
+typedef intptr intgo; // Go's int
+typedef uintptr uintgo; // Go's uint
/* Defined types. */