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:
@@ -366,11 +366,11 @@ void ArraysTestCase::Alloc()
|
|||||||
wxArrayInt a;
|
wxArrayInt a;
|
||||||
a.Add(17);
|
a.Add(17);
|
||||||
a.Add(9);
|
a.Add(9);
|
||||||
CPPUNIT_ASSERT_EQUAL( 2u, a.GetCount() );
|
CPPUNIT_ASSERT_EQUAL( size_t(2), a.GetCount() );
|
||||||
|
|
||||||
a.Alloc(1000);
|
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( 17, a[0] );
|
||||||
CPPUNIT_ASSERT_EQUAL( 9, a[1] );
|
CPPUNIT_ASSERT_EQUAL( 9, a[1] );
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user