From b724bafee0cbbb5c587d11e82a18c8ea5b060f26 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sun, 10 Jun 2007 21:38:37 +0000 Subject: [PATCH] fixed signed/unsigned comparison warning git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/wxcrt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/wxcrt.cpp b/src/common/wxcrt.cpp index 585b77fc98..b8961dcccd 100644 --- a/src/common/wxcrt.cpp +++ b/src/common/wxcrt.cpp @@ -576,7 +576,7 @@ int wxCRT_VsnprintfA(char *buf, size_t len, const char *format, va_list argptr) int rt = wxCRT_VsnprintfW(wbuf.data(), len, (const wchar_t*)wxConvLibc.cMB2WC(format), argptr); - if ( rt < 0 || rt >= len ) + if ( rt < 0 || rt >= (int)len ) return rt; if ( wxConvLibc.FromWChar(buf, len, wbuf) == wxCONV_FAILED ) -- 2.45.2