X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/227989f3e96d846023d36a797931875c57fbae6d..0738b901b17340f09766524b8d9d79e9ed1268e7:/tests/file/filetest.cpp?ds=inline diff --git a/tests/file/filetest.cpp b/tests/file/filetest.cpp index dc3c286691..33300577cb 100644 --- a/tests/file/filetest.cpp +++ b/tests/file/filetest.cpp @@ -76,7 +76,7 @@ void FileTestCase::DoRoundTripTest(const wxMBConv& conv) wxFile fin(tf.GetName(), wxFile::read); CPPUNIT_ASSERT( fin.IsOpened() ); - const wxFileOffset len = fin.Length(); + const ssize_t len = fin.Length(); wxCharBuffer buf(len); CPPUNIT_ASSERT_EQUAL( len, fin.Read(buf.data(), len) );