From 759d51f229c391e133bd8ccd9ec21eb7a0843aaf Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Thu, 29 Mar 2007 19:10:43 +0000 Subject: [PATCH] fixed warning about comparing int to size_t git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/string.h b/include/wx/string.h index 735e75ef77..e0f58918e8 100644 --- a/include/wx/string.h +++ b/include/wx/string.h @@ -235,7 +235,7 @@ public: } wxCStrData operator-(size_t n) const { - wxASSERT_MSG( n <= (int)m_offset, + wxASSERT_MSG( n <= m_offset, _T("attempt to construct address before the beginning of the string") ); return wxCStrData(m_str, m_offset - n, m_owned); } -- 2.50.0