From: Vadim Zeitlin Date: Mon, 29 Aug 2005 14:09:51 +0000 (+0000) Subject: another (blind) compilation fix for Borland after last commit X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b624acad7e112341845fe9da34fb987206c2ec3a another (blind) compilation fix for Borland after last commit git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/datetime.cpp b/src/common/datetime.cpp index 4aa2d7ce3c..f0d29667ff 100644 --- a/src/common/datetime.cpp +++ b/src/common/datetime.cpp @@ -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; }