Apple gcc compilation fixes: for it size_t and unsigned are not the same type for some reason

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-04-02 20:18:33 +00:00
parent 69373110a5
commit 0739e2eef9
2 changed files with 9 additions and 9 deletions

View File

@@ -274,7 +274,7 @@ void UnicodeTestCase::ConversionUTF16()
// got confused in this case
size_t len;
wxWCharBuffer wbuf(conv.cMB2WC("\x01\0\0B\0C" /* A macron BC */, 6, &len));
CPPUNIT_ASSERT_EQUAL( 3u, len );
CPPUNIT_ASSERT_EQUAL( (size_t)3, len );
}
void UnicodeTestCase::ConversionUTF32()
@@ -299,7 +299,7 @@ void UnicodeTestCase::ConversionUTF32()
size_t len;
wxWCharBuffer wbuf(conv.cMB2WC("\0\0\x01\0\0\0\0B\0\0\0C" /* A macron BC */,
12, &len));
CPPUNIT_ASSERT_EQUAL( 3u, len );
CPPUNIT_ASSERT_EQUAL( (size_t)3, len );
}
#endif // wxUSE_WCHAR_T