diff --git a/tools/ffhash.c b/tools/ffhash.c index 00a2872717..086d48a7ab 100644 --- a/tools/ffhash.c +++ b/tools/ffhash.c @@ -87,7 +87,7 @@ static int check(char *file) av_hash_init(hash); for (;;) { - ssize_t size = read(fd, buffer, SIZE); + int size = read(fd, buffer, SIZE); if (size < 0) { close(fd); finish();