diff options
author | Ben Laurie <ben@openssl.org> | 2002-06-11 12:03:51 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2002-06-11 12:03:51 +0000 |
commit | 25ace3ed252a468d4d2b914a54863b2d539bb0b9 (patch) | |
tree | 3f31d9f7a54bae7afcd2241e155840da444dba32 /crypto/asn1 | |
parent | 012c86ab74ae45873ea51eef7ca3c1d04d1441f1 (diff) | |
download | openssl-new-25ace3ed252a468d4d2b914a54863b2d539bb0b9.tar.gz |
Fix warnings.
Diffstat (limited to 'crypto/asn1')
-rw-r--r-- | crypto/asn1/a_enum.c | 2 | ||||
-rw-r--r-- | crypto/asn1/a_int.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/asn1/a_enum.c b/crypto/asn1/a_enum.c index 35232d82b2..ad8f0ffd1a 100644 --- a/crypto/asn1/a_enum.c +++ b/crypto/asn1/a_enum.c @@ -153,7 +153,7 @@ ASN1_ENUMERATED *BN_to_ASN1_ENUMERATED(BIGNUM *bn, ASN1_ENUMERATED *ai) 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=OPENSSL_realloc(ret->data, len+4); if (!new_data) { ASN1err(ASN1_F_BN_TO_ASN1_INTEGER,ERR_R_MALLOC_FAILURE); diff --git a/crypto/asn1/a_int.c b/crypto/asn1/a_int.c index 8ae9827f6e..edb243c021 100644 --- a/crypto/asn1/a_int.c +++ b/crypto/asn1/a_int.c @@ -399,7 +399,7 @@ ASN1_INTEGER *BN_to_ASN1_INTEGER(BIGNUM *bn, ASN1_INTEGER *ai) 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=OPENSSL_realloc(ret->data, len+4); if (!new_data) { ASN1err(ASN1_F_BN_TO_ASN1_INTEGER,ERR_R_MALLOC_FAILURE); |