[poppler] poppler/Stream.cc poppler/Stream.h
Pino Toscano
pino at kemper.freedesktop.org
Sun Jan 27 09:55:31 PST 2013
poppler/Stream.cc | 2 +-
poppler/Stream.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit f3aa5236361dca3db64f110520ebe721ba1c9464
Author: Pino Toscano <pino at kde.org>
Date: Sun Jan 27 18:50:10 2013 +0100
use Goffset also for length in MemStream ctor
diff --git a/poppler/Stream.cc b/poppler/Stream.cc
index 3deab44..3f89ddc 100644
--- a/poppler/Stream.cc
+++ b/poppler/Stream.cc
@@ -1015,7 +1015,7 @@ void CachedFileStream::moveStart(Goffset delta)
// MemStream
//------------------------------------------------------------------------
-MemStream::MemStream(char *bufA, Goffset startA, Guint lengthA, Object *dictA):
+MemStream::MemStream(char *bufA, Goffset startA, Goffset lengthA, Object *dictA):
BaseStream(dictA, lengthA) {
buf = bufA;
start = startA;
diff --git a/poppler/Stream.h b/poppler/Stream.h
index f6e85ac..c871ba7 100644
--- a/poppler/Stream.h
+++ b/poppler/Stream.h
@@ -565,7 +565,7 @@ private:
class MemStream: public BaseStream {
public:
- MemStream(char *bufA, Goffset startA, Guint lengthA, Object *dictA);
+ MemStream(char *bufA, Goffset startA, Goffset lengthA, Object *dictA);
virtual ~MemStream();
virtual BaseStream *copy();
virtual Stream *makeSubStream(Goffset start, GBool limited,
More information about the poppler
mailing list