summaryrefslogtreecommitdiff
path: root/source/fitz
diff options
context:
space:
mode:
Diffstat (limited to 'source/fitz')
-rw-r--r--source/fitz/printf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/fitz/printf.c b/source/fitz/printf.c
index 8d6bfb0d..2246b4c9 100644
--- a/source/fitz/printf.c
+++ b/source/fitz/printf.c
@@ -197,6 +197,8 @@ fz_vsnprintf(char *buffer, size_t space, const char *fmt, va_list args)
case 'z':
if (sizeof(size_t) >= 8)
length = 64;
+ else
+ length = 32;
break;
case 'Z':
if (sizeof(fz_off_t) >= 8)