X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/b1ab9ed8d0e0f1c3b66d7daa8fd5564444c56195..e3d3b979fd185d8303f28a937baa53a187fb8c7d:/libsecurity_apple_x509_tp/lib/TPNetwork.cpp?ds=sidebyside diff --git a/libsecurity_apple_x509_tp/lib/TPNetwork.cpp b/libsecurity_apple_x509_tp/lib/TPNetwork.cpp index 377be276..e6895229 100644 --- a/libsecurity_apple_x509_tp/lib/TPNetwork.cpp +++ b/libsecurity_apple_x509_tp/lib/TPNetwork.cpp @@ -46,7 +46,7 @@ static CSSM_RETURN tpDecodeCert( CSSM_DATA &rtnBlob) // will be reallocated if needed { const unsigned char *inbuf = (const unsigned char *)rtnBlob.Data; - unsigned inlen = rtnBlob.Length; + unsigned inlen = (unsigned)rtnBlob.Length; unsigned char *outbuf = NULL; unsigned outlen = 0; CSSM_RETURN ortn = cuConvertPem(inbuf, inlen, &outbuf, &outlen);