X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4004775e5a0c2da5453668201a4a984b6543d061..c1cb24a46088fe648eabf5bf12cda8d2779c734f:/include/wx/zstream.h?ds=sidebyside diff --git a/include/wx/zstream.h b/include/wx/zstream.h index 7086472a21..1723d93702 100644 --- a/include/wx/zstream.h +++ b/include/wx/zstream.h @@ -46,7 +46,7 @@ class WXDLLIMPEXP_BASE wxZlibInputStream: public wxFilterInputStream { virtual ~wxZlibInputStream(); char Peek() { return wxInputStream::Peek(); } - size_t GetSize() const { return wxInputStream::GetSize(); } + wxFileOffset GetLength() const { return wxInputStream::GetLength(); } static bool CanHandleGZip(); @@ -72,7 +72,7 @@ class WXDLLIMPEXP_BASE wxZlibOutputStream: public wxFilterOutputStream { virtual ~wxZlibOutputStream(); void Sync() { DoFlush(false); } - size_t GetSize() const { return (size_t)m_pos; } + wxFileOffset GetLength() const { return m_pos; } static bool CanHandleGZip();