about summary refs log tree commit diff
path: root/qemu_mode/patches/afl-qemu-cpu-inl.h
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2020-03-28 13:38:49 +0100
committerhexcoder- <heiko@hexco.de>2020-03-28 13:38:49 +0100
commit3c142efecfd2ec2e4dfb766819bed26b184c9671 (patch)
tree26f2f17506c25f114814116300997872433f7ac8 /qemu_mode/patches/afl-qemu-cpu-inl.h
parent23b3e3c84d3350790b5095a4bb6e1b7c39f28eea (diff)
downloadafl++-3c142efecfd2ec2e4dfb766819bed26b184c9671.tar.gz
qemu_mode: silence two compiler warnings
Diffstat (limited to 'qemu_mode/patches/afl-qemu-cpu-inl.h')
-rw-r--r--qemu_mode/patches/afl-qemu-cpu-inl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu_mode/patches/afl-qemu-cpu-inl.h b/qemu_mode/patches/afl-qemu-cpu-inl.h
index 9fdc23ea..3bd107d7 100644
--- a/qemu_mode/patches/afl-qemu-cpu-inl.h
+++ b/qemu_mode/patches/afl-qemu-cpu-inl.h
@@ -413,7 +413,7 @@ void afl_forkserver(CPUState *cpu) {
 void afl_persistent_loop(void) {
 
   static u32            cycle_cnt;
-  static struct afl_tsl exit_cmd_tsl = {{-1, 0, 0, 0}, NULL};
+  static struct afl_tsl exit_cmd_tsl = {{-1, 0, 0, 0}, '\0'};
 
   if (!afl_fork_child) return;