]> git.saurik.com Git - wxWidgets.git/commitdiff
fix constant value for 32bit machines
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Thu, 19 Mar 2009 20:30:27 +0000 (20:30 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Thu, 19 Mar 2009 20:30:27 +0000 (20:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/xlocale/xlocale.cpp

index d5cf8007c8f3e49916694edbca64cf69c83a547a..56c955367c3defd1db268a555b5f6fbf180d8609 100644 (file)
@@ -204,10 +204,10 @@ void XLocaleTestCase::TestStdlibFunctionsWith(const wxXLocale& loc)
     CPPUNIT_ASSERT_EQUAL( 0x6fffff,   wxStrtol_l(endptr, NULL, 0, loc) );
     
     // strtoul
     CPPUNIT_ASSERT_EQUAL( 0x6fffff,   wxStrtol_l(endptr, NULL, 0, loc) );
     
     // strtoul
-    // NOTE: 3147483647 and 0x12A05F200 are greater than LONG_MAX (on 32bit machines) but
+    // NOTE: 3147483647 and 0xEE6B2800 are greater than LONG_MAX (on 32bit machines) but
     //       smaller than ULONG_MAX
     CPPUNIT_ASSERT_EQUAL( (unsigned long)3147483647,  wxStrtoul_l(wxT("3147483647"), NULL, 0, loc) );
     //       smaller than ULONG_MAX
     CPPUNIT_ASSERT_EQUAL( (unsigned long)3147483647,  wxStrtoul_l(wxT("3147483647"), NULL, 0, loc) );
-    CPPUNIT_ASSERT_EQUAL( (unsigned long)0x12A05F200, wxStrtoul_l(wxT("0x12A05F200"), NULL, 0, loc) );
+    CPPUNIT_ASSERT_EQUAL( (unsigned long)0xEE6B2800, wxStrtoul_l(wxT("0xEE6B2800"), NULL, 0, loc) );
 
     // TODO: test for "failure" behaviour of the functions above
 }
 
     // TODO: test for "failure" behaviour of the functions above
 }