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=
+ (unsigned char *)OPENSSL_realloc(ret->data, len+4);
if (!new_data)
{
ASN1err(ASN1_F_BN_TO_ASN1_INTEGER,ERR_R_MALLOC_FAILURE);
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=
+ (unsigned char *)OPENSSL_realloc(ret->data, len+4);
if (!new_data)
{
ASN1err(ASN1_F_BN_TO_ASN1_INTEGER,ERR_R_MALLOC_FAILURE);