* fuzz/wget_ntlm_fuzzer.c: Add explicit cast for C++ compilation

This commit is contained in:
Tim Rühsen 2021-05-22 16:47:29 +02:00
parent 027d294114
commit d4431a0b97

View File

@ -79,9 +79,8 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
// CLOSE_STDERR
struct ntlmdata *ntlm = calloc(1, sizeof(struct ntlmdata));
char *data0 = malloc(size + 4 + 1);
char *val;
struct ntlmdata *ntlm = (struct ntlmdata *) calloc(1, sizeof(struct ntlmdata));
char *data0 = (char *) malloc(size + 4 + 1);
bool ready;
assert(ntlm && data0);