use wxFileSize_t instead of wxFileOffset or off_t

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2004-10-15 00:34:21 +00:00
parent bd3cea7d2c
commit 67c20e133e
7 changed files with 16 additions and 18 deletions

View File

@@ -621,7 +621,7 @@ wxFileOffset wxStreamBuffer::Seek(wxFileOffset pos, wxSeekMode mode)
wxFileOffset wxStreamBuffer::Tell() const
{
wxFileOffset pos;
wxFileSize_t pos;
// ask the stream for position if we have a real one
if ( m_stream )
@@ -889,7 +889,7 @@ wxFileOffset wxInputStream::SeekI(wxFileOffset pos, wxSeekMode mode)
wxFileOffset wxInputStream::TellI() const
{
wxFileOffset pos = OnSysTell();
wxFileSize_t pos = OnSysTell();
if (pos != wxInvalidOffset)
pos -= (m_wbacksize - m_wbackcur);
@@ -1122,7 +1122,7 @@ wxFileOffset wxBufferedInputStream::SeekI(wxFileOffset pos, wxSeekMode mode)
wxFileOffset wxBufferedInputStream::TellI() const
{
wxFileOffset pos = m_i_streambuf->Tell();
wxFileSize_t pos = m_i_streambuf->Tell();
if (pos != wxInvalidOffset)
pos -= (m_wbacksize - m_wbackcur);