about summary refs log tree commit diff
path: root/examples/aflpp_driver/aflpp_driver_test.cpp
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-06-28 23:47:57 +0200
committervan Hauser <vh@thc.org>2020-06-28 23:47:57 +0200
commitc25a602a0370f484e32adbf186290d2504cf3f12 (patch)
treebdde8467d75d1bcc27321b8d4eeea19c623542ad /examples/aflpp_driver/aflpp_driver_test.cpp
parent81974c4d5e63211744153f2ebcfb246046edbc5b (diff)
downloadafl++-c25a602a0370f484e32adbf186290d2504cf3f12.tar.gz
less problematic definitions
Diffstat (limited to 'examples/aflpp_driver/aflpp_driver_test.cpp')
-rw-r--r--examples/aflpp_driver/aflpp_driver_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/aflpp_driver/aflpp_driver_test.cpp b/examples/aflpp_driver/aflpp_driver_test.cpp
index 799c743d..13dc09b9 100644
--- a/examples/aflpp_driver/aflpp_driver_test.cpp
+++ b/examples/aflpp_driver/aflpp_driver_test.cpp
@@ -5,7 +5,7 @@
 
 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
 
-  fprintf(stderr, "FUNC crc: %08x len: %lu\n", hash32(Data, Size, 0xa5b35705), Size);
+  fprintf(stderr, "FUNC crc: %016llx len: %lu\n", hash64((u8*)Data, (unsigned int) Size, (unsigned long long int) 0xa5b35705), Size);
   
   if (Size < 5)
     return 0;