diff options
author | Lucas Stach <dev@lynxeye.de> | 2014-04-21 22:15:22 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-04-23 09:05:51 +0200 |
commit | 9c63e92baaea8fd35d9892e197a97d3bb39079f4 (patch) | |
tree | 2375a04e74f083894db37d4bf8a2fa78619d46bc /scripts/kwbimage.c | |
parent | 86afb22eae1230a84a7835dd370a0a744c92cb74 (diff) | |
download | barebox-9c63e92baaea8fd35d9892e197a97d3bb39079f4.tar.gz barebox-9c63e92baaea8fd35d9892e197a97d3bb39079f4.tar.xz |
treewide: fix signedness mixups in printf format specifiers
This most likely doesn't fix any real bugs, but it's the
right thing to do and reduces the noise level with static
checkers.
Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts/kwbimage.c')
-rw-r--r-- | scripts/kwbimage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kwbimage.c b/scripts/kwbimage.c index f8abeb1781..5b8e73892c 100644 --- a/scripts/kwbimage.c +++ b/scripts/kwbimage.c @@ -1265,7 +1265,7 @@ static void image_dump_config(struct image_cfg_element *image_cfg, struct image_cfg_element *e = &image_cfg[cfgi]; switch (e->type) { case IMAGE_CFG_VERSION: - printf("VERSION %d\n", e->version); + printf("VERSION %u\n", e->version); break; case IMAGE_CFG_BOOT_FROM: printf("BOOTFROM %s\n", |