summaryrefslogtreecommitdiff
path: root/tools_common.c
diff options
context:
space:
mode:
authorJim Bankoski <jimbankoski@google.com>2014-08-07 06:58:13 -0700
committerJim Bankoski <jimbankoski@google.com>2014-08-07 06:58:13 -0700
commit201ebe554ca75b70a2171f54246f26fd37424587 (patch)
treeecf20590cd4692be0d054b2a9b08278f5b081d6e /tools_common.c
parent9ba12543175c79169d01d5581fcfac668cf12cd5 (diff)
downloadlibvpx-201ebe554ca75b70a2171f54246f26fd37424587.tar
libvpx-201ebe554ca75b70a2171f54246f26fd37424587.tar.gz
libvpx-201ebe554ca75b70a2171f54246f26fd37424587.tar.bz2
libvpx-201ebe554ca75b70a2171f54246f26fd37424587.zip
tools_common.c: unsigned signed mismatch addressed
Change-Id: I919ca42794f13751ca099868e73892d9df64e45f
Diffstat (limited to 'tools_common.c')
-rw-r--r--tools_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools_common.c b/tools_common.c
index b481579b4..7cfd066ec 100644
--- a/tools_common.c
+++ b/tools_common.c
@@ -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;
}