padjffs2: fix a compiler warning that makes the build fail because of -Werror
authorFelix Fietkau <nbd@openwrt.org>
Sat, 2 Jul 2011 09:47:19 +0000 (09:47 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 2 Jul 2011 09:47:19 +0000 (09:47 +0000)
SVN-Revision: 27361

tools/padjffs2/src/padjffs2.c

index 679992d9ad46c45dbabcd8cf945e86bdc992da2c..58d99140d926741a789310174514ad3db318e926 100644 (file)
@@ -83,7 +83,7 @@ static int pad_image(char *name, uint32_t pad_mask)
                                pad_mask &= ~mask;
                }
 
-               printf("padding image to %08x\n", in_len);
+               printf("padding image to %08x\n", (unsigned int) in_len);
 
                while (out_len < in_len) {
                        ssize_t len;