diff options
| author | Piotr Trojanek <piotr.trojanek@gmail.com> | 2017-06-16 23:50:25 +0100 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2017-06-25 09:39:35 -0300 |
| commit | 85c830405886207196aedbd0a2b757b227ba769d (patch) | |
| tree | cdcf550a58d7e07a3b7a3ee8a42179f526cfe973 /notmuch-count.c | |
| parent | 410b96080ceec15ced70e684115f604380c5b4f6 (diff) | |
fix wrong printf formatting of signed/unsigned integers
Diffstat (limited to 'notmuch-count.c')
| -rw-r--r-- | notmuch-count.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/notmuch-count.c b/notmuch-count.c index a05b430d..50b0c193 100644 --- a/notmuch-count.c +++ b/notmuch-count.c @@ -111,7 +111,7 @@ print_count (notmuch_database_t *notmuch, const char *query_str, case OUTPUT_FILES: count = count_files (query); if (count >= 0) { - printf ("%u", count); + printf ("%d", count); } else { ret = -1; goto DONE; |
