More size_tification.
[openssl.git] / crypto / asn1 / d2i_pr.c
index 28289447772c061736055ee88472c7124e01bf95..3ee6c38f88a2b861b7243012c2aabfe9dfd6417a 100644 (file)
@@ -128,7 +128,7 @@ err:
 /* This works like d2i_PrivateKey() except it automatically works out the type */
 
 EVP_PKEY *d2i_AutoPrivateKey(EVP_PKEY **a, const unsigned char **pp,
-            long length)
+                            size_t length)
 {
        STACK_OF(ASN1_TYPE) *inkey;
        const unsigned char *p;