diff options
author | Ben Laurie <ben@openssl.org> | 2002-05-31 14:28:30 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2002-05-31 14:28:30 +0000 |
commit | 74c467f9f2d07dd1acb8d083f50bc9cc426ec949 (patch) | |
tree | 85884c906a7ff08a9656acfb20f056816ef01775 /crypto/asn1 | |
parent | 1b97c938e94099ec586488cc55a16528847c1f0e (diff) |
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); |