]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/datetime.h
assert that wxRound() argument is in the supported range
[wxWidgets.git] / include / wx / datetime.h
index 7f0aed8532c243ed7bb805ed9aefff40c6704515..281fe06575eb5f8dc6f9af98258657b56b180a77 100644 (file)
@@ -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))