crypto/bn/bn_exp.c: SPARC portability fix.
[openssl.git] / crypto / bn / bn_mpi.c
index da2d2c479e27fb6e7a6a090b03c3ce7b2d87b910..a054d21aed6b9a0cb04b384320ddd2fc6d6bfcbf 100644 (file)
@@ -88,7 +88,7 @@ int BN_bn2mpi(const BIGNUM *a, unsigned char *d)
        return(num+4+ext);
        }
 
-BIGNUM *BN_mpi2bn(const unsigned char *d, size_t n, BIGNUM *a)
+BIGNUM *BN_mpi2bn(const unsigned char *d, int n, BIGNUM *a)
        {
        long len;
        int neg=0;