]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed compilation warning about signed/unsigned comparison
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 1 Dec 2001 12:53:55 +0000 (12:53 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 1 Dec 2001 12:53:55 +0000 (12:53 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/longlong.h

index be9a66619ea7151c871ab66f6e343328e414eeb9..3a6f3f6f90d5143984018112127470bcef05b142 100644 (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;