1
0
mirror of https://github.com/golang/go synced 2024-11-23 12:20:12 -07:00

runtime: fix build for arm and ppc64/ppc64le

Change-Id: I17ddcb541dfac8b1e48e01ee005563031b6ade2a
Reviewed-on: https://go-review.googlesource.com/2062
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Shenghou Ma 2014-12-22 23:44:41 -05:00 committed by Minux Ma
parent 24ea0330fe
commit e98f2179b1

View File

@ -9,6 +9,8 @@
package runtime
import _ "unsafe"
func cmpstring(s1, s2 string) int {
l := len(s1)
if len(s2) < l {