From: Michael Wetherell Date: Sun, 29 Oct 2006 22:33:48 +0000 (+0000) Subject: Compile fix for 64-bit. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7d3b9f3abe2aaa8663141948ba3dfa726fbf2a45 Compile fix for 64-bit. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/tests/arrays/arrays.cpp b/tests/arrays/arrays.cpp index c6fa3f3bd4..e7c97b3f75 100644 --- a/tests/arrays/arrays.cpp +++ b/tests/arrays/arrays.cpp @@ -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] ); }