diff options
author | Chris Wilson <chris+github@qwirx.com> | 2007-04-28 17:13:34 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2007-04-28 17:13:34 +0000 |
commit | f71cab7197bc0582dcfb3a4320520d8fbe54718b (patch) | |
tree | 7fc69213b0805086dbb50f7d1f6ae474120a51ab /lib/common/PartialReadStream.h | |
parent | 278b937f6dffbc6b0e5a4a53e0310358acdf1dd5 (diff) |
Fix inability to handle streams over 2GB properly. (refs #3)
Diffstat (limited to 'lib/common/PartialReadStream.h')
-rw-r--r-- | lib/common/PartialReadStream.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/common/PartialReadStream.h b/lib/common/PartialReadStream.h index 42cb7aeb..1b46b0bd 100644 --- a/lib/common/PartialReadStream.h +++ b/lib/common/PartialReadStream.h @@ -23,7 +23,7 @@ class PartialReadStream : public IOStream { public: - PartialReadStream(IOStream &rSource, int BytesToRead); + PartialReadStream(IOStream &rSource, pos_type BytesToRead); ~PartialReadStream(); private: // no copying allowed @@ -39,7 +39,7 @@ public: private: IOStream &mrSource; - int mBytesLeft; + pos_type mBytesLeft; }; #endif // PARTIALREADSTREAM__H |