Work with -pedantic!
[openssl.git] / crypto / bn / bn_lib.c
index 00693bc5c3ca4ecfdcf5d5ae4cb34566de3197e4..f866126f46ac708cf1901d01dc15b1adea254824 100644 (file)
@@ -571,7 +571,7 @@ int BN_set_word(BIGNUM *a, BN_ULONG w)
        }
 
 /* ignore negative */
-BIGNUM *BN_bin2bn(unsigned char *s, int len, BIGNUM *ret)
+BIGNUM *BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret)
        {
        unsigned int i,m;
        unsigned int n;