Skip to content
Browse files

c++ cast fix

  • Loading branch information...
1 parent 82a56da commit 02079a2f796f2803493c73340cfcf6eef06d864f @toddouska toddouska committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 ctaocrypt/src/asn.c
View
2 ctaocrypt/src/asn.c
@@ -4718,7 +4718,7 @@ static int GetRevoked(const byte* buff, word32* idx, DecodedCRL* dcrl,
return ASN_PARSE_E;
}
- rc = XMALLOC(sizeof(RevokedCert), NULL, DYNAMIC_TYPE_CRL);
+ rc = (RevokedCert*)XMALLOC(sizeof(RevokedCert), NULL, DYNAMIC_TYPE_CRL);
if (rc == NULL) {
CYASSL_MSG("Alloc Revoked Cert failed");
return MEMORY_E;

0 comments on commit 02079a2

Please sign in to comment.
Something went wrong with that request. Please try again.