summaryrefslogtreecommitdiff
path: root/include/m_string.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-10-18 21:51:50 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-10-18 21:51:50 +0000
commitc2c38605a61b96cf0a36ee2057d6dc9f36c9a7da (patch)
tree95606e504302e4023f7367db582548e179156fe5 /include/m_string.h
parent83f70bd0a467ee0fdea0728b09031345ea10ffbf (diff)
more thorough warning fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@6524 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_string.h')
-rw-r--r--include/m_string.h2
1 files changed, 1 insertions, 1 deletions
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) {