tools_common.c: unsigned signed mismatch addressed
Change-Id: I919ca42794f13751ca099868e73892d9df64e45f
This commit is contained in:
parent
9ba1254317
commit
201ebe554c
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user