corrected signed/unsigned comparison warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
9b59b90cda
commit
4a9eae369e
@ -1037,10 +1037,10 @@ void MBConvTestCase::TestStreamEncoder(
|
||||
{
|
||||
textOutputStream.PutChar( wideBuffer[i] );
|
||||
}
|
||||
CPPUNIT_ASSERT( memoryOutputStream.TellO() == multiBytes );
|
||||
CPPUNIT_ASSERT_EQUAL( (wxFileOffset)multiBytes, memoryOutputStream.TellO() );
|
||||
wxCharBuffer copy( memoryOutputStream.TellO() );
|
||||
memoryOutputStream.CopyTo( copy.data(), memoryOutputStream.TellO());
|
||||
CPPUNIT_ASSERT( 0 == memcmp( copy.data(), multiBuffer, multiBytes ) );
|
||||
CPPUNIT_ASSERT_EQUAL( 0, memcmp( copy.data(), multiBuffer, multiBytes ) );
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user