diff options
Diffstat (limited to 'common/rdr/ZlibInStream.h')
-rw-r--r-- | common/rdr/ZlibInStream.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/common/rdr/ZlibInStream.h b/common/rdr/ZlibInStream.h index 86ba1ff1..08784b0f 100644 --- a/common/rdr/ZlibInStream.h +++ b/common/rdr/ZlibInStream.h @@ -34,12 +34,12 @@ namespace rdr { public: - ZlibInStream(int bufSize=0); + ZlibInStream(size_t bufSize=0); virtual ~ZlibInStream(); - void setUnderlying(InStream* is, int bytesIn); + void setUnderlying(InStream* is, size_t bytesIn); void flushUnderlying(); - int pos(); + size_t pos(); void reset(); private: @@ -47,14 +47,14 @@ namespace rdr { void init(); void deinit(); - int overrun(int itemSize, int nItems, bool wait); + size_t overrun(size_t itemSize, size_t nItems, bool wait); bool decompress(bool wait); InStream* underlying; - int bufSize; - int offset; + size_t bufSize; + size_t offset; z_stream_s* zs; - int bytesIn; + size_t bytesIn; U8* start; }; |