From bc94d944d0ebde1599e820e5bb68a13d56adc1a9 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 24 Jan 2007 17:37:54 +0000 Subject: [PATCH] use LLONG_MIN instead of -1 (which is a valid time value corresponding to 1ms before Epoch) for the invalid wxDateTime m_time value git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/datetime.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/datetime.h b/include/wx/datetime.h index 2b88024a5a..d11c669bb1 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)ULONG_MAX, ULONG_MAX); } + wxDateTime() { m_time = wxLongLong(LONG_MIN, 0); } // from time_t: seconds since the Epoch 00:00:00 UTC, Jan 1, 1970) #if (!(defined(__VISAGECPP__) && __IBMCPP__ >= 400)) -- 2.45.2