diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2016-11-06 01:36:27 +0800 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2016-11-23 23:33:06 +0800 |
commit | a1761e60a23a3c26ce884dc2fcabdf1e6f8f0ecb (patch) | |
tree | 58080281c0c90d91157bbf1bb39ccdd1344d3a68 /source | |
parent | da8b580d51ba688ae9c15ebe779b83a9f6a8da30 (diff) | |
download | mupdf-a1761e60a23a3c26ce884dc2fcabdf1e6f8f0ecb.tar.xz |
Add ptrdiff_t formatting support to fz_vsnprintf().
Diffstat (limited to 'source')
-rw-r--r-- | source/fitz/printf.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/fitz/printf.c b/source/fitz/printf.c index 3c75afbe..65c98278 100644 --- a/source/fitz/printf.c +++ b/source/fitz/printf.c @@ -197,6 +197,9 @@ fz_vsnprintf(char *buffer, size_t space, const char *fmt, va_list args) fmt--; } break; + case 't': + length = sizeof(ptrdiff_t) * 8; + break; case 'z': length = sizeof(size_t) * 8; break; |