fix unittest

This commit is contained in:
van Hauser
2020-06-29 01:23:30 +02:00
parent e5e485fcdb
commit 3a0c91b862

View File

@ -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; \
\