about summary refs log tree commit diff
path: root/src/afl-fuzz-globals.c
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2020-03-14 11:44:21 +0100
committerhexcoder- <heiko@hexco.de>2020-03-14 11:44:21 +0100
commitc616fcafe8e5321ae247c3dc316aa7f2dbd97f7c (patch)
tree09b6609bc49c2f727d7736f81b62970e10b9f69c /src/afl-fuzz-globals.c
parentd2787519e33b339f4f2b03bdba32719a60a663a3 (diff)
downloadafl++-c616fcafe8e5321ae247c3dc316aa7f2dbd97f7c.tar.gz
fix some compiler warnings from Open/FreeBSD
Diffstat (limited to 'src/afl-fuzz-globals.c')
-rw-r--r--src/afl-fuzz-globals.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afl-fuzz-globals.c b/src/afl-fuzz-globals.c
index f74917ea..c77474fc 100644
--- a/src/afl-fuzz-globals.c
+++ b/src/afl-fuzz-globals.c
@@ -71,7 +71,7 @@ static void init_mopt_globals(afl_state_t *afl) {
 /* A global pointer to all instances is needed (for now) for signals to arrive
  */
 
-list_t afl_states = {0};
+list_t afl_states = {.element_prealloc_count = 0};
 
 /* Initializes an afl_state_t. */