]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/datetime/datetimetest.cpp
don't show warning to the user if session manager detection failed, this is annoying...
[wxWidgets.git] / tests / datetime / datetimetest.cpp
index 6add06a43126a505f8beb8a9b1568a3a9a65efb8..48611e4480043297a2bf9c6c34122264ed63e380 100644 (file)
@@ -761,7 +761,7 @@ void DateTimeTestCase::TestTimeTicks()
 
         // GetValue() returns internal UTC-based representation, we need to
         // convert it to local TZ before comparing
-        long ticks = (dt.GetValue() / 1000).ToLong() + TZ_LOCAL.GetOffset();
+        time_t ticks = (dt.GetValue() / 1000).ToLong() + TZ_LOCAL.GetOffset();
         if ( dt.IsDST() )
             ticks += 3600;
         CPPUNIT_ASSERT_EQUAL( d.gmticks, ticks + tzOffset );