From 9540df9c2ecafd4f6830c564407a20e158d7bf87 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 4 Jan 2009 15:49:24 +0000 Subject: [PATCH] use correct type for file offset git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- tests/streams/bstream.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/streams/bstream.h b/tests/streams/bstream.h index 3f5e1f1d59..9b46aa90c8 100644 --- a/tests/streams/bstream.h +++ b/tests/streams/bstream.h @@ -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());