From a5623f9f37374ef4a59c077d9784de7fd53897ba Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 24 Nov 2013 17:46:32 +0000 Subject: warning fix git-svn-id: http://svn.miranda-ng.org/main/trunk@6977 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/m_string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/m_string.h b/include/m_string.h index c8b774ec85..13d77b4331 100644 --- a/include/m_string.h +++ b/include/m_string.h @@ -226,7 +226,7 @@ public: int nNewLength = nOldLength+nLength; PXSTR pszBuffer = GetBuffer(nNewLength); - if (nOffset <= nOldLength) { + if (nOffset <= UINT_PTR(nOldLength)) { pszSrc = pszBuffer+nOffset; // No need to call CopyCharsOverlapped, since the destination is // beyond the end of the original buffer -- cgit v1.2.3