about summary refs log tree commit diff
path: root/include/afl-fuzz.h
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2020-12-30 13:02:11 +0100
committerhexcoder- <heiko@hexco.de>2020-12-30 13:02:11 +0100
commitb0d69f1b6995a9ddc0aebb0c289da79ebd3fc5e9 (patch)
tree600f571059714e69a338500bdcb6e923a7d62102 /include/afl-fuzz.h
parent5a99e67e02d8f4cc4ece7cfb16d4fba862b63be0 (diff)
downloadafl++-b0d69f1b6995a9ddc0aebb0c289da79ebd3fc5e9.tar.gz
cleanup of hot fix for -s on 32-bit
Diffstat (limited to 'include/afl-fuzz.h')
-rw-r--r--include/afl-fuzz.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/afl-fuzz.h b/include/afl-fuzz.h
index 57b0e6cc..0bf0aebe 100644
--- a/include/afl-fuzz.h
+++ b/include/afl-fuzz.h
@@ -590,7 +590,8 @@ typedef struct afl_state {
 
   u32 rand_cnt;                         /* Random number counter            */
 
-  u64 rand_seed[3];
+/*  unsigned long rand_seed[3]; would also work */
+  AFL_RAND_RETURN rand_seed[3];
   s64 init_seed;
 
   u64 total_cal_us,                     /* Total calibration time (us)      */