From 4be927a2d0af07be3554e18726681289c192f4c9 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 29 Sep 2004 11:16:22 +0000 Subject: [PATCH] signed/unsigned comparison warning fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/intl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/intl.cpp b/src/common/intl.cpp index bf24c944ed..4b164126f3 100644 --- a/src/common/intl.cpp +++ b/src/common/intl.cpp @@ -1126,7 +1126,7 @@ bool wxMsgCatalogFile::Load(const wxChar *szDirPrefix, const wxChar *szName0, // read the whole file in memory m_pData = new size_t8[nSize]; - if ( fileMsg.Read(m_pData, nSize) != nSize ) { + if ( fileMsg.Read(m_pData, nSize) != (size_t)nSize ) { wxDELETEA(m_pData); return false; } -- 2.45.2