diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2017-08-08 23:44:08 +0800 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2017-08-15 20:42:16 +0800 |
commit | a85c54c46c41c079d747eaa8465acb30c5100e5c (patch) | |
tree | acc877b8175dffecbafdfa2846183385b7f0d210 /source/fitz | |
parent | e51a8dfe6e795e611ae6ce9f2a4b2c22875af209 (diff) | |
download | mupdf-a85c54c46c41c079d747eaa8465acb30c5100e5c.tar.xz |
Do not try to print sign for unsigned values.
Diffstat (limited to 'source/fitz')
-rw-r--r-- | source/fitz/printf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/fitz/printf.c b/source/fitz/printf.c index 41b3fe34..55a7dfe1 100644 --- a/source/fitz/printf.c +++ b/source/fitz/printf.c @@ -359,12 +359,12 @@ fz_format_string(fz_context *ctx, void *user, void (*emit)(fz_context *ctx, void if (bits == 64) { i64 = va_arg(args, int64_t); - fmtuint64(&out, i64, s, z, w, 16); + fmtuint64(&out, i64, 0, z, w, 16); } else { i32 = va_arg(args, int); - fmtuint32(&out, i32, s, z, w, 16); + fmtuint32(&out, i32, 0, z, w, 16); } break; case 'd': @@ -383,12 +383,12 @@ fz_format_string(fz_context *ctx, void *user, void (*emit)(fz_context *ctx, void if (bits == 64) { i64 = va_arg(args, int64_t); - fmtuint64(&out, i64, s, z, w, 10); + fmtuint64(&out, i64, 0, z, w, 10); } else { i32 = va_arg(args, int); - fmtuint32(&out, i32, s, z, w, 10); + fmtuint32(&out, i32, 0, z, w, 10); } break; |