Diff between 40f7829b88a10fb924aa1d6246c8635afd9bdac8 and fb8d2433c35f5dbc7375515c7cf698a0e64813e3
Changed Files
| File | Additions | Deletions | Status |
| tools/bluemoon.c | +1 | -1 | modified |
Full Patch
diff --git a/tools/bluemoon.c b/tools/bluemoon.c
index 83c76a4..1fd516a 100644
--- a/tools/bluemoon.c
+++ b/tools/bluemoon.c
@@ -810,7 +810,7 @@ static void analyze_firmware(const char *path)
printf("\n");
- if (len != le32_to_cpu(css->size) * 4) {
+ if ((size_t) len != le32_to_cpu(css->size) * 4) {
fprintf(stderr, "CSS.size does not match file length\n");
goto done;
}