aboutsummaryrefslogtreecommitdiffstats
path: root/browser.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 /browser.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 'browser.c')
-rw-r--r--browser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/browser.c b/browser.c
index 7b6ac4d..34322e5 100644
--- a/browser.c
+++ b/browser.c
@@ -117,10 +117,10 @@ browser_statfiles(XtPointer clientdata)
/* update status line */
if (h->filter) {
- snprintf(line, sizeof(line), "%d dirs, %d/%d files [%s]",
+ snprintf(line, sizeof(line), "%u dirs, %u/%u files [%s]",
h->dirs,h->sfiles,h->afiles,h->filter);
} else {
- snprintf(line, sizeof(line), "%d dirs, %d files",
+ snprintf(line, sizeof(line), "%u dirs, %u files",
h->dirs,h->afiles);
}
str = XmStringGenerate(line, NULL, XmMULTIBYTE_TEXT, NULL);