From c2c38605a61b96cf0a36ee2057d6dc9f36c9a7da Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 18 Oct 2013 21:51:50 +0000 Subject: more thorough warning fix git-svn-id: http://svn.miranda-ng.org/main/trunk@6524 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/m_string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/m_string.h b/include/m_string.h index aba36c1d2f..2a883f6c39 100644 --- a/include/m_string.h +++ b/include/m_string.h @@ -212,7 +212,7 @@ public: void Append(PCXSTR pszSrc, int nLength) { // See comment in SetString() about why we do this - int nOffset = pszSrc - GetString(); + UINT_PTR nOffset = UINT_PTR(pszSrc - GetString()); int nOldLength = GetLength(); if (nOldLength < 0) { -- cgit v1.2.3