From: Michael Munday Date: Fri, 8 Apr 2016 17:02:49 +0000 (-0400) Subject: cmd/cgo: increase s390x int type size to 8 bytes X-Git-Tag: go1.7beta1~812 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=9ada88aec271a2f08c998e9669331145803e7d5a;p=gostls13.git cmd/cgo: increase s390x int type size to 8 bytes The size of the int type in Go on s390x is 8 bytes, not 4. Change-Id: I1a71ce8c9925f3499abb61c1aa4f6fa2d2ec0d7e Reviewed-on: https://go-review.googlesource.com/21760 Reviewed-by: Bill O'Farrell Reviewed-by: Brad Fitzpatrick --- diff --git a/src/cmd/cgo/main.go b/src/cmd/cgo/main.go index 5e863549d6..2dc36c20db 100644 --- a/src/cmd/cgo/main.go +++ b/src/cmd/cgo/main.go @@ -156,7 +156,7 @@ var intSizeMap = map[string]int64{ "ppc64": 8, "ppc64le": 8, "s390": 4, - "s390x": 4, + "s390x": 8, } var cPrefix string