[EMAIL PROTECTED] wrote:
> levitte 05-Jun-2002 13:23:23
>
> Modified: crypto/asn1 Tag: OpenSSL_0_9_6-stable a_enum.c a_int.c
> Log:
> signedness warning corrected
>
> Revision Changes Path
> No revision
> No revision
> 1.15.2.2 +2 -1 openssl/crypto/asn1/a_enum.c
> 1.17.2.2 +2 -1 openssl/crypto/asn1/a_int.c
>
> Index: a_enum.c
> ===================================================================
> RCS file: /e/openssl/cvs/openssl/crypto/asn1/a_enum.c,v
> retrieving revision 1.15.2.1
> retrieving revision 1.15.2.2
> diff -u -r1.15.2.1 -r1.15.2.2
> --- a_enum.c 2002/05/30 16:48:07 1.15.2.1
> +++ a_enum.c 2002/06/05 11:23:18 1.15.2.2
> @@ -207,7 +207,8 @@
> len=((j == 0)?0:((j/8)+1));
> if (ret->length < len+4)
> {
> - char *new_data=(char *)OPENSSL_realloc(ret->data, len+4);
> + unsigned char *new_data=
> + (unsigned char *)OPENSSL_realloc(ret->data, len+4);
Why cast at all?
Cheers,
Ben.
--
http://www.apache-ssl.org/ben.html http://www.thebunker.net/
"There is no limit to what a man can do or how far he can go if he
doesn't mind who gets the credit." - Robert Woodruff
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]