• 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
..
pkix Loading commit data...
testdata Loading commit data...
cert_pool.go Loading commit data...
example_test.go Loading commit data...
name_constraints_test.go Loading commit data...
pem_decrypt.go Loading commit data...
pem_decrypt_test.go Loading commit data...
pkcs1.go Loading commit data...
pkcs8.go Loading commit data...
pkcs8_test.go Loading commit data...
root.go Loading commit data...
root_aix.go Loading commit data...
root_bsd.go Loading commit data...
root_cgo_darwin.go Loading commit data...
root_darwin.go Loading commit data...
root_darwin_arm_gen.go Loading commit data...
root_darwin_armx.go Loading commit data...
root_darwin_test.go Loading commit data...
root_js.go Loading commit data...
root_linux.go Loading commit data...
root_nacl.go Loading commit data...
root_nocgo_darwin.go Loading commit data...
root_plan9.go Loading commit data...
root_solaris.go Loading commit data...
root_unix.go Loading commit data...
root_unix_test.go Loading commit data...
root_windows.go Loading commit data...
sec1.go Loading commit data...
sec1_test.go Loading commit data...
test-file.crt Loading commit data...
verify.go Loading commit data...
verify_test.go Loading commit data...
x509.go Loading commit data...
x509_test.go Loading commit data...
x509_test_import.go Loading commit data...