]> git.saurik.com Git - wxWidgets.git/commitdiff
Compile fix for 64-bit.
authorMichael Wetherell <mike.wetherell@ntlworld.com>
Sun, 29 Oct 2006 22:33:48 +0000 (22:33 +0000)
committerMichael Wetherell <mike.wetherell@ntlworld.com>
Sun, 29 Oct 2006 22:33:48 +0000 (22:33 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/arrays/arrays.cpp

index c6fa3f3bd40e70e253fb2ecf066a244696a8a32b..e7c97b3f757eee4b81c4abe304e73ec42ce330c7 100644 (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] );
 }