diff options
author | Stéphane Aulery <saulery@free.fr> | 2014-11-08 18:00:26 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2014-11-17 14:31:49 +0100 |
commit | 6e81ca91fa8e62ca6fb5ba41c45bbd6a605d514c (patch) | |
tree | 23098f39c8e233100e892fd2615c2b4ee2c815b3 /browser.c | |
parent | b1ad6e37beddb396f7cbd1fd1dca48036d85c016 (diff) | |
download | fbida-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |