use correct type for file offset

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2009-01-04 15:49:24 +00:00
parent a8fd1047b8
commit 9540df9c2e

View File

@ -375,7 +375,7 @@ protected:
const char *buf = "1234567890";
(void)stream_out.Write(buf, 10);
off_t pos = stream_out.SeekO(5, wxFromStart);
wxFileOffset pos = stream_out.SeekO(5, wxFromStart);
CPPUNIT_ASSERT_EQUAL(pos, stream_out.TellO());
(void)stream_out.PutC('1');
CPPUNIT_ASSERT_EQUAL(6, stream_out.TellO());