runtime: fix 32-bit build

In 32-bit worlds, 8-byte objects are only aligned to 4-byte boundaries.

Change-Id: I91469a9a67b1ee31dd508a4e105c39c815ecde58
Reviewed-on: https://go-review.googlesource.com/2581
Reviewed-by: Keith Randall <khr@golang.org>
This commit is contained in:
Keith Randall 2015-01-08 13:34:05 -08:00
parent fbe2845cdd
commit 7b2524217e
2 changed files with 4 additions and 2 deletions

View file

@ -117,3 +117,5 @@ func GostringW(w []uint16) (s string) {
var Gostringnocopy = gostringnocopy
var Maxstring = &maxstring
type Uintreg uintreg