From 3a0c91b86205bfebb8ec7e62a2e7b0bfcec2e407 Mon Sep 17 00:00:00 2001 From: van Hauser Date: Mon, 29 Jun 2020 01:23:30 +0200 Subject: fix unittest --- include/afl-prealloc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/afl-prealloc.h') diff --git a/include/afl-prealloc.h b/include/afl-prealloc.h index fa6c9b70..edf69a67 100644 --- a/include/afl-prealloc.h +++ b/include/afl-prealloc.h @@ -60,7 +60,7 @@ typedef enum prealloc_status { \ if ((prealloc_counter) >= (prealloc_size)) { \ \ - el_ptr = (element_t *)malloc(sizeof(*el_ptr)); \ + el_ptr = (void *)malloc(sizeof(*el_ptr)); \ if (!el_ptr) { FATAL("error in list.h -> out of memory for element!"); } \ el_ptr->pre_status = PRE_STATUS_MALLOC; \ \ -- cgit 1.4.1