X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=notmuch-count.c;h=50b0c193f04625c794b9ab9287ab6bdd9c4f29da;hb=44914dc60e80cbd5e5acbbf1d6c7b1e019fb7e7f;hp=a05b430d77ac8df14db982cc533c87b7e4f40886;hpb=1ec634461ea25d87cc16dbeb1318f8e30a07c9f1;p=notmuch 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;