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:
parent
a8fd1047b8
commit
9540df9c2e
@ -375,7 +375,7 @@ protected:
|
|||||||
const char *buf = "1234567890";
|
const char *buf = "1234567890";
|
||||||
(void)stream_out.Write(buf, 10);
|
(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());
|
CPPUNIT_ASSERT_EQUAL(pos, stream_out.TellO());
|
||||||
(void)stream_out.PutC('1');
|
(void)stream_out.PutC('1');
|
||||||
CPPUNIT_ASSERT_EQUAL(6, stream_out.TellO());
|
CPPUNIT_ASSERT_EQUAL(6, stream_out.TellO());
|
||||||
|
Loading…
Reference in New Issue
Block a user