]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-count.c
fix wrong printf formatting of signed/unsigned integers
[notmuch] / notmuch-count.c
index a05b430d77ac8df14db982cc533c87b7e4f40886..50b0c193f04625c794b9ab9287ab6bdd9c4f29da 100644 (file)
@@ -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;