]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/longlong/longlongtest.cpp
Add a wxLog::DoCreateOnDemand and call it from DoCommonPreInit so that
[wxWidgets.git] / tests / longlong / longlongtest.cpp
index fdeb5fdd716774476373d3160f36acf35b8f3378..e09edae668f1e99208015f93ef2a88f4edce8539 100644 (file)
@@ -305,7 +305,7 @@ void LongLongTestCase::ToString()
     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