]> git.saurik.com Git - wxWidgets.git/commitdiff
another (blind) compilation fix for Borland after last commit
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 29 Aug 2005 14:09:51 +0000 (14:09 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 29 Aug 2005 14:09:51 +0000 (14:09 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/datetime.cpp

index 4aa2d7ce3cb95fc8053955f14640c1ad66ee0777..f0d29667fff5c0f9c4b2039eb42e0ededdcbe237 100644 (file)
@@ -2851,7 +2851,7 @@ const wxChar *wxDateTime::ParseRfc822Date(const wxChar* date)
 
     // the spec was correct, construct the date from the values we found
     Set(day, mon, year, hour, min, sec);
-    MakeFromTimezone(TimeZone(offset*SEC_PER_MIN));
+    MakeFromTimezone(TimeZone((wxDateTime_t)offset*SEC_PER_MIN));
 
     return p;
 }