From 6e81ca91fa8e62ca6fb5ba41c45bbd6a605d514c Mon Sep 17 00:00:00 2001 From: Stéphane Aulery Date: Sat, 8 Nov 2014 18:00:26 +0100 Subject: Fix cppcheck warning %d in format string requires 'int' but the argument type is 'unsigned int' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Aulery Signed-off-by: Gerd Hoffmann --- filebutton.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'filebutton.c') diff --git a/filebutton.c b/filebutton.c index 3f922e2..b09d730 100644 --- a/filebutton.c +++ b/filebutton.c @@ -233,7 +233,7 @@ fileinfo_loader(XtPointer clientdata) } file->loader->done(file->wdata); if (debug) - fprintf(stderr,"LOADED: %s [%dx%d]\n", + fprintf(stderr,"LOADED: %s [%ux%u]\n", file->filename, file->wimg.i.width, file->wimg.i.height); /* resize image */ @@ -269,7 +269,7 @@ fileinfo_loader(XtPointer clientdata) } desc_resize.done(file->wdata); if (debug) - fprintf(stderr,"SCALED: %s [%dx%d]\n", + fprintf(stderr,"SCALED: %s [%ux%u]\n", file->filename,file->simg.i.width,file->simg.i.height); /* scale once more (small icon) */ -- cgit