diff options
author | van Hauser <vh@thc.org> | 2020-12-31 11:51:10 +0100 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-12-31 11:51:10 +0100 |
commit | 7e6645d5a25b874b978430eeb7d1ddce1f681d98 (patch) | |
tree | 8130a3f7e326c218a163eb805189013148813ce1 /src | |
parent | 84e72b0a514ae2cd08c42c1fdcb3d50b78344640 (diff) | |
download | afl++-7e6645d5a25b874b978430eeb7d1ddce1f681d98.tar.gz |
float2double
Diffstat (limited to 'src')
-rw-r--r-- | src/afl-fuzz-stats.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/afl-fuzz-stats.c b/src/afl-fuzz-stats.c index cb0d3dcd..1c211da6 100644 --- a/src/afl-fuzz-stats.c +++ b/src/afl-fuzz-stats.c @@ -120,8 +120,8 @@ void write_stats_file(afl_state_t *afl, double bitmap_cvg, double stability, cur_time - afl->last_avg_exec_update >= 60000))) { afl->last_avg_execs_saved = - (float)(1000 * (afl->fsrv.total_execs - afl->last_avg_execs)) / - (float)(cur_time - afl->last_avg_exec_update); + (double)(1000 * (afl->fsrv.total_execs - afl->last_avg_execs)) / + (double)(cur_time - afl->last_avg_exec_update); afl->last_avg_execs = afl->fsrv.total_execs; afl->last_avg_exec_update = cur_time; |