summaryrefslogtreecommitdiff
path: root/ubi-utils/new-utils/src/ubinize.c
diff options
context:
space:
mode:
Diffstat (limited to 'ubi-utils/new-utils/src/ubinize.c')
-rw-r--r--ubi-utils/new-utils/src/ubinize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ubi-utils/new-utils/src/ubinize.c b/ubi-utils/new-utils/src/ubinize.c
index 4f3e8a1..00dc508 100644
--- a/ubi-utils/new-utils/src/ubinize.c
+++ b/ubi-utils/new-utils/src/ubinize.c
@@ -261,7 +261,7 @@ static int parse_opt(int argc, char * const argv[])
return errmsg("output file was not specified (use -h for help)");
if (args.vid_hdr_offs) {
- if (args.vid_hdr_offs + UBI_VID_HDR_SIZE >= args.peb_size)
+ if (args.vid_hdr_offs + (int)UBI_VID_HDR_SIZE >= args.peb_size)
return errmsg("bad VID header position");
if (args.vid_hdr_offs % 8)
return errmsg("VID header offset has to be multiple of min. I/O unit size");