From: Ryan Norton Date: Sat, 20 Dec 2003 22:25:48 +0000 (+0000) Subject: size_t is always unsigned.... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d890ea0d4ce6fadf640cbff97ef27c75330c3083 size_t is always unsigned.... git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/dpycmn.cpp b/src/common/dpycmn.cpp index 81a2a8e85c..8797f81ecb 100644 --- a/src/common/dpycmn.cpp +++ b/src/common/dpycmn.cpp @@ -44,7 +44,7 @@ const wxVideoMode wxDefaultVideoMode; wxDisplayBase::wxDisplayBase(size_t index) : m_index (index) { - wxASSERT_MSG( m_index >= 0 && m_index < GetCount(), + wxASSERT_MSG( m_index < GetCount(), wxT("An invalid index was passed to wxDisplay") ); }