tools_common.c: unsigned signed mismatch addressed

Change-Id: I919ca42794f13751ca099868e73892d9df64e45f
This commit is contained in:
Jim Bankoski 2014-08-07 06:58:13 -07:00
parent 9ba1254317
commit 201ebe554c

View File

@ -246,7 +246,7 @@ int vpx_img_read(vpx_image_t *img, FILE *file) {
int y;
for (y = 0; y < h; ++y) {
if (fread(buf, 1, w, file) != w)
if (fread(buf, 1, w, file) != (size_t)w)
return 0;
buf += stride;
}