From 9189b72752a9bc2676e02dfaa54dba189117a01d Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Mon, 2 Oct 2006 08:49:32 +0000 Subject: [PATCH] Don't test size_t for positive only values (warning fix). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/wxchar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/wxchar.cpp b/src/common/wxchar.cpp index e1d69caae7..8eb13d39f7 100644 --- a/src/common/wxchar.cpp +++ b/src/common/wxchar.cpp @@ -984,7 +984,7 @@ int wxPrintfConvSpec::Process(wxChar *buf, size_t lenMax, wxPrintfArg *p) case wxPAT_POINTER: #if wxUSE_STRUTILS { - wxASSERT(lenScratch >= 0 && lenScratch < wxMAX_SVNPRINTF_SCRATCHBUFFER_LEN); + wxASSERT( /* lenScratch >= 0 && */ lenScratch < wxMAX_SVNPRINTF_SCRATCHBUFFER_LEN); if (lenMax < lenScratch) { // fill output buffer and then return -1 -- 2.45.2