Compile fix for 64-bit.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell 2006-10-29 22:33:48 +00:00
parent 5f77e766a3
commit 7d3b9f3abe

View File

@ -366,11 +366,11 @@ void ArraysTestCase::Alloc()
wxArrayInt a;
a.Add(17);
a.Add(9);
CPPUNIT_ASSERT_EQUAL( 2u, a.GetCount() );
CPPUNIT_ASSERT_EQUAL( size_t(2), a.GetCount() );
a.Alloc(1000);
CPPUNIT_ASSERT_EQUAL( 2u, a.GetCount() );
CPPUNIT_ASSERT_EQUAL( size_t(2), a.GetCount() );
CPPUNIT_ASSERT_EQUAL( 17, a[0] );
CPPUNIT_ASSERT_EQUAL( 9, a[1] );
}