[poppler] Branch 'poppler-0.24' - poppler/JBIG2Stream.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Sat Dec 7 08:35:40 PST 2013


 poppler/JBIG2Stream.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 58e04a08afee39370283c494ee2e4e392fd3b684
Author: Fabio D'Urso <fabiodurso at hotmail.it>
Date:   Sat Dec 7 16:33:09 2013 +0000

    segExtraBytes is a goffset not an int so use lld
    
    Fixes KDE bug #328511

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


More information about the poppler mailing list