summaryrefslogtreecommitdiffstats
path: root/crypto/asn1/a_d2i_fp.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2005-04-20 12:55:15 +0000
committerRichard Levitte <levitte@openssl.org>2005-04-20 12:55:15 +0000
commit22c3600e4cf3eaf9d50bca8fc4b4595ceab363df (patch)
treee45622172c83edc154bf2ec14d04a6d61db28594 /crypto/asn1/a_d2i_fp.c
parent49f386578e374b8b1941f500459b0369d92d8615 (diff)
Resolve signed vs. unsigned.
Diffstat (limited to 'crypto/asn1/a_d2i_fp.c')
-rw-r--r--crypto/asn1/a_d2i_fp.c2
1 files changed, 1 insertions, 1 deletions
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);