compile fixes on 32-bit OSs

This commit is contained in:
hexcoder-
2020-08-07 21:07:05 +02:00
parent 33141cf8a3
commit 27abecbff5
2 changed files with 4 additions and 4 deletions

View File

@ -762,7 +762,7 @@ void perform_dry_run(afl_state_t *afl) {
use_mem = ck_alloc_nozero(q->len);
if (read(fd, use_mem, q->len) != q->len) {
if (read(fd, use_mem, q->len) != (ssize_t)q->len) {
FATAL("Short read from '%s'", q->fname);