fixed compilation warning about signed/unsigned comparison

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2001-12-01 12:53:55 +00:00
parent 13ff9344d6
commit 0ba9f867fa

View File

@ -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;