X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f9df3f0586be52d8a7dabfe51283de2795d73cf4..18c509fb88b029169eb1b1b6a2c9ff852b7c7f84:/src/common/wfstream.cpp diff --git a/src/common/wfstream.cpp b/src/common/wfstream.cpp index d89d5bfb64..f660552426 100644 --- a/src/common/wfstream.cpp +++ b/src/common/wfstream.cpp @@ -250,14 +250,7 @@ size_t wxFFileInputStream::OnSysRead(void *buffer, size_t size) wxFileOffset wxFFileInputStream::OnSysSeek(wxFileOffset pos, wxSeekMode mode) { -#ifdef __VMS -#pragma message disable intsignchange -#endif - wxASSERT_MSG( pos >= 0 && pos <= LONG_MAX, _T("no huge wxFFile support") ); - return ( m_file->Seek((long)pos, mode) ? (wxFileOffset)m_file->Tell() : wxInvalidOffset ); -#ifdef __VMS -#pragma message enable intsignchange -#endif + return m_file->Seek(pos, mode) ? m_file->Tell() : wxInvalidOffset; } wxFileOffset wxFFileInputStream::OnSysTell() const @@ -331,14 +324,7 @@ wxFileOffset wxFFileOutputStream::OnSysTell() const wxFileOffset wxFFileOutputStream::OnSysSeek(wxFileOffset pos, wxSeekMode mode) { -#ifdef __VMS -#pragma message disable intsignchange -#endif - wxASSERT_MSG( pos >= 0 && pos <= LONG_MAX, _T("no huge wxFFile support") ); - return ( m_file->Seek((long)pos, mode) ? (wxFileOffset)m_file->Tell() : wxInvalidOffset ); -#ifdef __VMS -#pragma message enable intsignchange -#endif + return m_file->Seek(pos, mode) ? m_file->Tell() : wxInvalidOffset; } void wxFFileOutputStream::Sync()