diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-01-16 15:40:54 +0200 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-01-16 15:40:54 +0200 |
commit | 2416fefc0adc6061212e5ccbf166c8c987385527 (patch) | |
tree | 086d7ac1479949dc5c707b3ec7788921c9d67c81 /ubi-utils/new-utils/src/ubinize.c | |
parent | 6d9a03eb4f0f5c0b5f917d1092c4d851a392b9fb (diff) |
ubi-utils: fix compilation warnings
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/new-utils/src/ubinize.c')
-rw-r--r-- | ubi-utils/new-utils/src/ubinize.c | 2 |
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"); |