summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio D'Urso <fabiodurso@hotmail.it>2013-12-07 16:33:09 +0000
committerAlbert Astals Cid <aacid@kde.org>2013-12-07 16:33:09 +0000
commit58e04a08afee39370283c494ee2e4e392fd3b684 (patch)
treea949eca6d9f423d5844a119f7a7afae10f98dc76
parent0af3e009a702d0c6ca716565ab87b386baa0a1ed (diff)
segExtraBytes is a goffset not an int so use lld
Fixes KDE bug #328511
-rw-r--r--poppler/JBIG2Stream.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/poppler/JBIG2Stream.cc b/poppler/JBIG2Stream.cc
index 12de50e1..dbc7bdca 100644
--- a/poppler/JBIG2Stream.cc
+++ b/poppler/JBIG2Stream.cc
@@ -1492,13 +1492,13 @@ void JBIG2Stream::readSegments() {
// v.3.1.01.13 of the LuraTech PDF Compressor Server will
// sometimes generate an extraneous NULL byte at the end of
// arithmetic-coded symbol dictionary segments when numNewSyms
// == 0. Segments like this often occur for blank pages.
- error(errSyntaxError, curStr->getPos(), "{0:d} extraneous byte{1:s} after segment",
+ error(errSyntaxError, curStr->getPos(), "{0:lld} extraneous byte{1:s} after segment",
segExtraBytes, (segExtraBytes > 1) ? "s" : "");
// Burn through the remaining bytes -- inefficient, but
// hopefully we're not doing this much
int trash;