diff options
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 36f29094..718af4a4 100644 --- a/source/fitz/printf.c +++ b/source/fitz/printf.c @@ -192,7 +192,10 @@ fz_vsnprintf(char *buffer, size_t space, const char *fmt, va_list args) if (c == 'l') length = 64; else + { + length = sizeof(long) * 8; fmt--; + } break; case 'z': if (sizeof(size_t) >= 8) |