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 9c307dcf4d8f8a0567464ea2f818aa18f60b6738..e409c273f266560b72a2f649ef74a84d9400e818 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);