shithub: libvpx

Download patch

ref: b418c9582e2278ab251a78b7bb4b725e59dab6c7
parent: bd57508fdb945e061d4efd15bf133e398f7bf578
parent: 201ebe554ca75b70a2171f54246f26fd37424587
author: Jim Bankoski <[email protected]>
date: Thu Aug 7 11:10:25 EDT 2014

Merge "tools_common.c: unsigned signed mismatch addressed"

--- a/tools_common.c
+++ b/tools_common.c
@@ -246,7 +246,7 @@
     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;
     }