]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-show.c
notmuch-show: use correct format specifier for ssize_t
[notmuch] / notmuch-show.c
index dd836adda6ad6929680244c7c8628429466a32f3..c0498c6672686efdbde940c678aea82cdc663780 100644 (file)
@@ -909,7 +909,7 @@ format_part_raw (unused (const void *ctx), unused (sprinter_t *sp),
            }
 
            if (ssize > 0 && fwrite (buf, ssize, 1, stdout) != 1) {
-               fprintf (stderr, "Error: Write %ld chars to stdout failed\n", ssize);
+               fprintf (stderr, "Error: Write %zd chars to stdout failed\n", ssize);
                goto DONE;
            }
        }