summaryrefslogtreecommitdiff
path: root/tools/padjffs2
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-07-02 09:47:19 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-07-02 09:47:19 +0000
commite194acb471e4e304b3a7aeb144d8ce8472dc8092 (patch)
treef10a4f902f6b4713422b02ff6fefcff422637fb4 /tools/padjffs2
parent357a58811b8f500c6b2653fbe7a0fea2412534f7 (diff)
downloadmtk-20170518-e194acb471e4e304b3a7aeb144d8ce8472dc8092.zip
mtk-20170518-e194acb471e4e304b3a7aeb144d8ce8472dc8092.tar.gz
mtk-20170518-e194acb471e4e304b3a7aeb144d8ce8472dc8092.tar.bz2
padjffs2: fix a compiler warning that makes the build fail because of -Werror
SVN-Revision: 27361
Diffstat (limited to 'tools/padjffs2')
-rw-r--r--tools/padjffs2/src/padjffs2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/padjffs2/src/padjffs2.c b/tools/padjffs2/src/padjffs2.c
index 679992d..58d9914 100644
--- a/tools/padjffs2/src/padjffs2.c
+++ b/tools/padjffs2/src/padjffs2.c
@@ -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;