diff options
author | van Hauser <vh@thc.org> | 2020-03-17 16:10:34 +0100 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-03-17 16:10:34 +0100 |
commit | dae249dc71ceb230b939ddd114b24af33bd133a3 (patch) | |
tree | e92245b3f5eb6f41f98cb77630c74a8f63548e2e /examples/qemu_persistent_hook/test.c | |
parent | e194acdd79aade4c5516701867ad2c0cd83cce23 (diff) | |
download | afl++-dae249dc71ceb230b939ddd114b24af33bd133a3.tar.gz |
minor fix to qemu_persistent_hook example
Diffstat (limited to 'examples/qemu_persistent_hook/test.c')
-rw-r--r-- | examples/qemu_persistent_hook/test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qemu_persistent_hook/test.c b/examples/qemu_persistent_hook/test.c index 83001545..f6672027 100644 --- a/examples/qemu_persistent_hook/test.c +++ b/examples/qemu_persistent_hook/test.c @@ -1,6 +1,6 @@ #include <stdio.h> -int target_func(char *buf, int size) { +int target_func(unsigned char *buf, int size) { printf("buffer:%p, size:%p\n", buf, size); switch (buf[0]) { |