src/crypto/x509/root_cgo_darwin.go | 2 +- diff --git a/src/crypto/x509/root_cgo_darwin.go b/src/crypto/x509/root_cgo_darwin.go index a168135a334770fba7c6370316308c9c9726fe70..e6332072d62a50d89398bd4d3677fb9f02efc4aa 100644 --- a/src/crypto/x509/root_cgo_darwin.go +++ b/src/crypto/x509/root_cgo_darwin.go @@ -215,7 +215,7 @@ CFIndex length = CFStringGetLength(summary); CFIndex maxSize = CFStringGetMaximumSizeForEncoding(length, kCFStringEncodingUTF8) + 1; char *buffer = malloc(maxSize); if (CFStringGetCString(summary, buffer, maxSize, kCFStringEncodingUTF8)) { - printf("crypto/x509: %s returned %d\n", buffer, result); + printf("crypto/x509: %s returned %d\n", buffer, (int)result); } free(buffer); CFRelease(summary);