X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03647350fc7cd141953c72e0284e928847d30f44..17d98558b35b75e3cad68d96841b4fa5a0c7e6ee:/src/common/stream.cpp diff --git a/src/common/stream.cpp b/src/common/stream.cpp index 241d1c07b2..1a03caa346 100644 --- a/src/common/stream.cpp +++ b/src/common/stream.cpp @@ -635,7 +635,7 @@ wxFileOffset wxStreamBuffer::Seek(wxFileOffset pos, wxSeekMode mode) size_t int_diff = wx_truncate_cast(size_t, diff); wxCHECK_MSG( (wxFileOffset)int_diff == diff, wxInvalidOffset, wxT("huge file not supported") ); SetIntPosition(int_diff); - return pos; + return diff; } case wxFromEnd: