aboutsummaryrefslogtreecommitdiffstats
path: root/tools/firmware-utils/src/mkbrnimg.c
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2015-10-11 19:00:41 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2015-10-11 19:00:41 +0000
commit3d1a65adb41db2758827fe81f36d92ab61618ea3 (patch)
tree6915980ec09edb4801a9e33e7bacd80cd160fe27 /tools/firmware-utils/src/mkbrnimg.c
parentf457ae99f20bed2f8482ca9f9f1e4e7ac2701d40 (diff)
downloadupstream-3d1a65adb41db2758827fe81f36d92ab61618ea3.tar.gz
upstream-3d1a65adb41db2758827fe81f36d92ab61618ea3.tar.bz2
upstream-3d1a65adb41db2758827fe81f36d92ab61618ea3.zip
tools: firmware-utils: fix compiler warnings
This just fixes a lot of compiler warnings. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47181
Diffstat (limited to 'tools/firmware-utils/src/mkbrnimg.c')
-rw-r--r--tools/firmware-utils/src/mkbrnimg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/firmware-utils/src/mkbrnimg.c b/tools/firmware-utils/src/mkbrnimg.c
index fde30b2ea5..b7a73ff59d 100644
--- a/tools/firmware-utils/src/mkbrnimg.c
+++ b/tools/firmware-utils/src/mkbrnimg.c
@@ -142,7 +142,7 @@ static void appendfile(int outfd, char *path, int kernel) {
// write padding
padded_len = ((len + sizeof(footer) + sizeof(padding) - 1) & ~(sizeof(padding) - 1)) - sizeof(footer);
- fprintf(stderr, "len=%08x padded_len=%08x\n", len, padded_len);
+ fprintf(stderr, "len=%08zx padded_len=%08zx\n", len, padded_len);
write(outfd, padding, padded_len - len);
// write footer