mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
notmuch-show: use correct format specifier for ssize_t
Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com>
This commit is contained in:
parent
6a7b61b1d5
commit
5648bebe69
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue