Resolve signed vs. unsigned.
authorRichard Levitte <levitte@openssl.org>
Wed, 20 Apr 2005 12:55:15 +0000 (12:55 +0000)
committerRichard Levitte <levitte@openssl.org>
Wed, 20 Apr 2005 12:55:15 +0000 (12:55 +0000)
crypto/asn1/a_d2i_fp.c

index 9c307dc..e409c27 100644 (file)
@@ -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);