]> git.saurik.com Git - wxWidgets.git/commitdiff
use wxLongLong::ToLong() and not GetLo() to extract time_t value in GetTicks(): they...
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 13 Jul 2007 13:43:57 +0000 (13:43 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 13 Jul 2007 13:43:57 +0000 (13:43 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/datetime.h

index 5acab9668175ede4ed45cf14988b1c27a6a2132d..c5f9f365df2f6cbfb0e487c6407ccce8ec72bbde 100644 (file)
@@ -1676,7 +1676,7 @@ inline time_t wxDateTime::GetTicks() const
         return (time_t)-1;
     }
 
-    return (time_t)((m_time / (long)TIME_T_FACTOR).GetLo())+WX_TIME_BASE_OFFSET ;
+    return (time_t)((m_time / (long)TIME_T_FACTOR).ToLong()) + WX_TIME_BASE_OFFSET;
 }
 
 inline bool wxDateTime::SetToLastWeekDay(WeekDay weekday,