test, remove unnecessary const cast
[openssl.git] / crypto / evp / e_null.c
index 2420d7e5af806ec6c81fbf9c1fb091fa96b6dfcd..698a8e379c9ba8d2cee6c4255cbad2a085e7ddfb 100644 (file)
@@ -95,7 +95,7 @@ static int null_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
             const unsigned char *in, unsigned int inl)
        {
        if (in != out)
-               memcpy((char *)out,(char *)in,(int)inl);
+               memcpy((char *)out,(const char *)in,(size_t)inl);
        return 1;
        }