aboutsummaryrefslogtreecommitdiffstats
path: root/fbi.c
diff options
context:
space:
mode:
authorStéphane Aulery <saulery@free.fr>2014-11-08 18:00:26 +0100
committerGerd Hoffmann <kraxel@redhat.com>2014-11-17 14:31:49 +0100
commit6e81ca91fa8e62ca6fb5ba41c45bbd6a605d514c (patch)
tree23098f39c8e233100e892fd2615c2b4ee2c815b3 /fbi.c
parentb1ad6e37beddb396f7cbd1fd1dca48036d85c016 (diff)
downloadfbida-6e81ca91fa8e62ca6fb5ba41c45bbd6a605d514c.tar.gz
Fix cppcheck warning %d in format string requires 'int' but the argument type is 'unsigned int'
Signed-off-by: Stéphane Aulery <saulery@free.fr> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'fbi.c')
-rw-r--r--fbi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fbi.c b/fbi.c
index d7c5cb0..59f25ac 100644
--- a/fbi.c
+++ b/fbi.c
@@ -1140,7 +1140,7 @@ static char *make_info(struct ida_image *img, float scale)
static char linebuffer[128];
snprintf(linebuffer, sizeof(linebuffer),
- "%s%.0f%% %dx%d %d/%d",
+ "%s%.0f%% %ux%u %d/%d",
fcurrent->tag ? "* " : "",
scale*100,
img->i.width, img->i.height,