summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio D'Urso <fabiodurso@hotmail.it>2013-12-07 16:33:09 (GMT)
committerAlbert Astals Cid <aacid@kde.org>2013-12-07 16:33:09 (GMT)
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 12de50e..dbc7bdc 100644
--- a/poppler/JBIG2Stream.cc
+++ b/poppler/JBIG2Stream.cc
@@ -1495,7 +1495,7 @@ void JBIG2Stream::readSegments() {
// 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