From 10ea6519e4e61d47385ca7b7f60ca96856271de7 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Mon, 24 Sep 2012 20:57:01 -0400 Subject: 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 --- src/pkg/runtime/runtime.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pkg/runtime') 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; -- cgit v1.3