aboutsummaryrefslogtreecommitdiffstats
path: root/sane.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 /sane.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 'sane.c')
-rw-r--r--sane.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sane.c b/sane.c
index 911134d..6ce75f2 100644
--- a/sane.c
+++ b/sane.c
@@ -243,7 +243,7 @@ sane_idainit(FILE *fp, char *filename, unsigned int page, struct ida_image_info
info->dpi = dpi;
h->buf = malloc(h->parm.bytes_per_line * BUF_LINES);
if (debug)
- fprintf(stderr,"sane: scanning %dx%d %s\n",info->width,info->height,
+ fprintf(stderr,"sane: scanning %ux%u %s\n",info->width,info->height,
(h->parm.format == SANE_FRAME_GRAY) ? "gray" : "color");
return h;