diff options
author | van Hauser <vh@thc.org> | 2020-09-04 17:56:17 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-09-04 17:56:17 +0200 |
commit | 77b824d1014c3fb11804a2e91d28d155cd0f62d1 (patch) | |
tree | 52a822be9652046a9a304ca1e59fbb39eacaa2a6 /src | |
parent | b7b38205d816e20a5e3c87adcdd1fdb6de612755 (diff) | |
download | afl++-77b824d1014c3fb11804a2e91d28d155cd0f62d1.tar.gz |
compile fix
Diffstat (limited to 'src')
-rw-r--r-- | src/afl-fuzz-stats.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/afl-fuzz-stats.c b/src/afl-fuzz-stats.c index 7e77532e..05cbafef 100644 --- a/src/afl-fuzz-stats.c +++ b/src/afl-fuzz-stats.c @@ -35,10 +35,10 @@ void write_setup_file(afl_state_t *afl, int argc, char **argv) { u8 fn[PATH_MAX]; snprintf(fn, PATH_MAX, "%s/fuzzer_setup", afl->out_dir); FILE *f = create_ffile(fn); - u32 i; + s32 i; fprintf(f, "# environment variables:\n"); - u32 s_afl_env = + s32 s_afl_env = (s32) sizeof(afl_environment_variables) / sizeof(afl_environment_variables[0]) - 1; @@ -54,7 +54,6 @@ void write_setup_file(afl_state_t *afl, int argc, char **argv) { fprintf(f, "# command line:\n"); - s32 i; size_t j; for (i = 0; i < argc; i++) { |