]> git.saurik.com Git - wxWidgets.git/commitdiff
use correct type for file offset
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 4 Jan 2009 15:49:24 +0000 (15:49 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 4 Jan 2009 15:49:24 +0000 (15:49 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/streams/bstream.h

index 3f5e1f1d591326805f626a463e001792b40c4e28..9b46aa90c803a7ab48f82e8193b67d3e7656e8ea 100644 (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());