]> Cypherpunks repositories - gostls13.git/commit
misc/cgo: fix issue 9400 test on 386
authorAustin Clements <austin@google.com>
Tue, 23 Dec 2014 02:18:09 +0000 (21:18 -0500)
committerAustin Clements <austin@google.com>
Tue, 23 Dec 2014 02:22:50 +0000 (02:22 +0000)
commit200e7bf6b13a16452e5add94bb641ed434526e37
tree2d15375268a606b47c9372bcb2f7a87d10fb2b46
parent8a853aa5cbe4432cd7794e791676821af94f0946
misc/cgo: fix issue 9400 test on 386

issue9400_linux.go did not build on 386 because it used a constant
that was larger than a 32-bit int in a ... argument.  Fix this by
casting the constant to uint64 (to match how the constant is being
used).

Change-Id: Ie8cb64c3910382a41c7852be7734a62f0b2d5a21
Reviewed-on: https://go-review.googlesource.com/2060
Reviewed-by: Ian Lance Taylor <iant@golang.org>
misc/cgo/test/issue9400_linux.go