summaryrefslogtreecommitdiff
path: root/libgo
diff options
context:
space:
mode:
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. */