diff options
author | Alex Smith <alex.smith@warpsharp.info> | 2013-09-24 09:16:32 -0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-09-24 16:29:18 +0200 |
commit | 2599a62fbb31a340d106774b8b3dd84169f92895 (patch) | |
tree | e8ce0676014b672d09d64208d80128bf2f5675df /tools/ffhash.c | |
parent | 4fdf2fa94a3f4658073185f399d6c9c3e5b47272 (diff) | |
download | ffmpeg-2599a62fbb31a340d106774b8b3dd84169f92895.tar.gz |
ffhash: Change size to an int
This fixes compilation with MSVC and ICL, and makes ffhash consistent
with how the rest of the codebase uses read().
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'tools/ffhash.c')
-rw-r--r-- | tools/ffhash.c | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |