diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2017-08-08 23:38:29 +0800 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2017-08-15 20:42:16 +0800 |
commit | 955bd8ab5c302906fc4e04319d53f1c81964d792 (patch) | |
tree | da7ce424792087666fc91badf57a1971052b2d94 | |
parent | eb11f659bbeacfab0a3110dbe40dd6099b77e308 (diff) | |
download | mupdf-955bd8ab5c302906fc4e04319d53f1c81964d792.tar.xz |
Avoid using unsupported alternate form printing of hex number.
-rw-r--r-- | source/pdf/pdf-xref.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-xref.c b/source/pdf/pdf-xref.c index 14b8b5bd..cba27397 100644 --- a/source/pdf/pdf-xref.c +++ b/source/pdf/pdf-xref.c @@ -897,7 +897,7 @@ pdf_read_old_xref(fz_context *ctx, pdf_document *doc, pdf_lexbuf *buf) entry->num = (int)i; entry->type = s[17]; if (s[17] != 'f' && s[17] != 'n' && s[17] != 'o') - fz_throw(ctx, FZ_ERROR_GENERIC, "unexpected xref type: %#x (%d %d R)", s[17], entry->num, entry->gen); + fz_throw(ctx, FZ_ERROR_GENERIC, "unexpected xref type: 0x%x (%d %d R)", s[17], entry->num, entry->gen); /* If the last byte of our buffer isn't an EOL (or space), carry one byte forward */ carried = s[19] > 32; if (carried) |