diff --git a/include/wx/longlong.h b/include/wx/longlong.h index be9a66619e..3a6f3f6f90 100644 --- a/include/wx/longlong.h +++ b/include/wx/longlong.h @@ -377,7 +377,7 @@ public: // convert to ulong with range checking in the debug mode (only!) unsigned long ToULong() const { - wxASSERT_MSG( (m_ll >= LONG_MIN) && (m_ll <= LONG_MAX), + wxASSERT_MSG( m_ll <= LONG_MAX, _T("wxULongLong to long conversion loss of precision") ); return (unsigned long)m_ll;