diff options
author | hexcoder- <heiko@hexco.de> | 2021-01-04 20:40:53 +0100 |
---|---|---|
committer | hexcoder- <heiko@hexco.de> | 2021-01-04 20:40:53 +0100 |
commit | c6e038fe25789caa8da777f53154de1bd7b4e178 (patch) | |
tree | fecec5ac4c36814b66ef284a887c627ca11ca0c0 /include/afl-fuzz.h | |
parent | 5c224726169e421e95ec7f926f7808ff78cb05df (diff) | |
download | afl++-c6e038fe25789caa8da777f53154de1bd7b4e178.tar.gz |
code cleanups (shadowed vars, (un)signed type mismatches, format types, etc.)
Diffstat (limited to 'include/afl-fuzz.h')
-rw-r--r-- | include/afl-fuzz.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/afl-fuzz.h b/include/afl-fuzz.h index d6a322cc..ede54f0e 100644 --- a/include/afl-fuzz.h +++ b/include/afl-fuzz.h @@ -573,7 +573,7 @@ typedef struct afl_state { u8 stage_name_buf[STAGE_BUF_SIZE]; /* reused stagename buf with len 64 */ - s32 stage_cur, stage_max; /* Stage progression */ + u32 stage_cur, stage_max; /* Stage progression */ s32 splicing_with; /* Splicing with which test case? */ u32 main_node_id, main_node_max; /* Main instance job splitting */ @@ -648,7 +648,7 @@ typedef struct afl_state { double last_avg_execs_saved; /* foreign sync */ -#define FOREIGN_SYNCS_MAX 32 +#define FOREIGN_SYNCS_MAX 32U u8 foreign_sync_cnt; struct foreign_sync foreign_syncs[FOREIGN_SYNCS_MAX]; |