From: Vadim Zeitlin Date: Thu, 5 Apr 2007 15:01:48 +0000 (+0000) Subject: use wxINT32_MIN, not LONG_MIN, in wxDateTime default ctor to fix it under LP64 platforms X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4bd53224039c88a7055441c32b01f84e1a539f62?ds=inline use wxINT32_MIN, not LONG_MIN, in wxDateTime default ctor to fix it under LP64 platforms git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/datetime.h b/include/wx/datetime.h index 7f0aed8532..281fe06575 100644 --- a/include/wx/datetime.h +++ b/include/wx/datetime.h @@ -564,7 +564,7 @@ public: // ------------------------------------------------------------------------ // default ctor does not initialize the object, use Set()! - wxDateTime() { m_time = wxLongLong(LONG_MIN, 0); } + wxDateTime() { m_time = wxLongLong(wxINT32_MIN, 0); } // from time_t: seconds since the Epoch 00:00:00 UTC, Jan 1, 1970) #if (!(defined(__VISAGECPP__) && __IBMCPP__ >= 400))