ref: 201ebe554ca75b70a2171f54246f26fd37424587
parent: 9ba12543175c79169d01d5581fcfac668cf12cd5
author: Jim Bankoski <[email protected]>
date: Thu Aug 7 02:58:13 EDT 2014
tools_common.c: unsigned signed mismatch addressed Change-Id: I919ca42794f13751ca099868e73892d9df64e45f
--- 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;
}