padjffs2: fix a compiler warning that makes the build fail because of -Werror
[openwrt/staging/yousong.git] / 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;