Skip to content

Commit 77b824d

Browse files
committed
compile fix
1 parent b7b3820 commit 77b824d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/afl-fuzz-stats.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ void write_setup_file(afl_state_t *afl, int argc, char **argv) {
3535
u8 fn[PATH_MAX];
3636
snprintf(fn, PATH_MAX, "%s/fuzzer_setup", afl->out_dir);
3737
FILE *f = create_ffile(fn);
38-
u32 i;
38+
s32 i;
3939

4040
fprintf(f, "# environment variables:\n");
41-
u32 s_afl_env =
41+
s32 s_afl_env = (s32)
4242
sizeof(afl_environment_variables) / sizeof(afl_environment_variables[0]) -
4343
1;
4444

@@ -54,7 +54,6 @@ void write_setup_file(afl_state_t *afl, int argc, char **argv) {
5454

5555
fprintf(f, "# command line:\n");
5656

57-
s32 i;
5857
size_t j;
5958
for (i = 0; i < argc; i++) {
6059

0 commit comments

Comments
 (0)