]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix for 64-bit systems
authorMichael Wetherell <mike.wetherell@ntlworld.com>
Wed, 15 Feb 2006 12:59:37 +0000 (12:59 +0000)
committerMichael Wetherell <mike.wetherell@ntlworld.com>
Wed, 15 Feb 2006 12:59:37 +0000 (12:59 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/longlong/longlongtest.cpp

index fdeb5fdd716774476373d3160f36acf35b8f3378..e09edae668f1e99208015f93ef2a88f4edce8539 100644 (file)
@@ -305,7 +305,7 @@ void LongLongTestCase::ToString()
     a.Negate();
     CPPUNIT_ASSERT( a.ToString() == _T("-1311768467139281697") );
 
     a.Negate();
     CPPUNIT_ASSERT( a.ToString() == _T("-1311768467139281697") );
 
-    wxLongLong llMin(LONG_MIN, 0);
+    wxLongLong llMin(-2147483647L - 1L, 0);
     CPPUNIT_ASSERT( llMin.ToString() == _T("-9223372036854775808") );
 
 #if wxUSE_LONGLONG_WX
     CPPUNIT_ASSERT( llMin.ToString() == _T("-9223372036854775808") );
 
 #if wxUSE_LONGLONG_WX