diff options
| author | hexcoder- <heiko@hexco.de> | 2020-08-07 19:53:32 +0200 |
|---|---|---|
| committer | hexcoder- <heiko@hexco.de> | 2020-08-07 19:53:32 +0200 |
| commit | 8551d8e48e18a5a50955945b5f73aff3cb492de5 (patch) | |
| tree | 4e62bae271be851bd2e556d51e09197163814190 /src/afl-fuzz-stats.c | |
| parent | 32558bc8072caa14ee670c6be40af4d183e8ffcc (diff) | |
| parent | 934cdc32f4c828d6a8045e4096344601fe528a76 (diff) | |
| download | afl++-8551d8e48e18a5a50955945b5f73aff3cb492de5.tar.gz | |
Merge branch 'dev' of https://github.com/AFLplusplus/AFLplusplus into dev
Diffstat (limited to 'src/afl-fuzz-stats.c')
| -rw-r--r-- | src/afl-fuzz-stats.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/afl-fuzz-stats.c b/src/afl-fuzz-stats.c index 7b30b5ea..aeb290bd 100644 --- a/src/afl-fuzz-stats.c +++ b/src/afl-fuzz-stats.c @@ -890,12 +890,12 @@ void show_stats(afl_state_t *afl) { if (afl->cpu_aff >= 0) { SAYF("%s" cGRA "[cpu%03u:%s%3u%%" cGRA "]\r" cRST, spacing, - MIN(afl->cpu_aff, 999), cpu_color, MIN(cur_utilization, 999)); + MIN(afl->cpu_aff, 999), cpu_color, MIN(cur_utilization, (u32)999)); } else { SAYF("%s" cGRA " [cpu:%s%3u%%" cGRA "]\r" cRST, spacing, cpu_color, - MIN(cur_utilization, 999)); + MIN(cur_utilization, (u32)999)); } @@ -1081,7 +1081,7 @@ void show_init_stats(afl_state_t *afl) { if (afl->non_instrumented_mode && !(afl->afl_env.afl_hang_tmout)) { - afl->hang_tmout = MIN(EXEC_TIMEOUT, afl->fsrv.exec_tmout * 2 + 100); + afl->hang_tmout = MIN((u32)EXEC_TIMEOUT, afl->fsrv.exec_tmout * 2 + 100); } |
