From: Richard Levitte Date: Wed, 20 Apr 2005 12:55:15 +0000 (+0000) Subject: Resolve signed vs. unsigned. X-Git-Tag: OpenSSL_0_9_8-beta1~13^2~171 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=22c3600e4cf3eaf9d50bca8fc4b4595ceab363df;p=oweals%2Fopenssl.git Resolve signed vs. unsigned. --- diff --git a/crypto/asn1/a_d2i_fp.c b/crypto/asn1/a_d2i_fp.c index 9c307dcf4d..e409c273f2 100644 --- a/crypto/asn1/a_d2i_fp.c +++ b/crypto/asn1/a_d2i_fp.c @@ -93,7 +93,7 @@ void *ASN1_d2i_bio(void *(*xnew)(void), d2i_of_void *d2i, BIO *in, void **x) len = asn1_d2i_read_bio(in, &b); if(len < 0) goto err; - p=b->data; + p=(unsigned char *)b->data; ret=d2i(x,&p,len); err: if (b != NULL) BUF_MEM_free(b);