• Tobias Klauser's avatar
    crypto/x509: explicitly cast printf format argument · ec0077c5
    Tobias Klauser authored
    After CL 128056 the build fails on darwin/386 with
    
      src/crypto/x509/root_cgo_darwin.go:218:55: warning: values of type 'SInt32' should not be used as format arguments; add an explicit cast to 'int' instead [-Wformat]
      go build crypto/x509: C compiler warning promoted to error on Go builders
    
    Fix the warning by explicitly casting the argument to an int as
    suggested by the warning.
    
    Change-Id: Icb6bd622a543e9bc5f669fd3d7abd418b4a8e579
    Reviewed-on: https://go-review.googlesource.com/c/152958
    Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
    ec0077c5
Name
Last commit
Last update
..
aes Loading commit data...
cipher Loading commit data...
des Loading commit data...
dsa Loading commit data...
ecdsa Loading commit data...
elliptic Loading commit data...
hmac Loading commit data...
internal Loading commit data...
md5 Loading commit data...
rand Loading commit data...
rc4 Loading commit data...
rsa Loading commit data...
sha1 Loading commit data...
sha256 Loading commit data...
sha512 Loading commit data...
subtle Loading commit data...
tls Loading commit data...
x509 Loading commit data...
crypto.go Loading commit data...
issue21104_test.go Loading commit data...