summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-10-18 21:34:28 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-10-18 21:34:28 +0000
commit83f70bd0a467ee0fdea0728b09031345ea10ffbf (patch)
treee584830be23ff2bb174928bb88c302e1065683f7
parenta59c497053b795b44a33056cd2603fb637191e85 (diff)
warning fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@6523 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-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 7417e4ef3f..aba36c1d2f 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
- UINT_PTR nOffset = pszSrc - GetString();
+ int nOffset = pszSrc - GetString();
int nOldLength = GetLength();
if (nOldLength < 0) {