diff options
author | George Hazan <george.hazan@gmail.com> | 2013-10-18 21:51:50 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-10-18 21:51:50 +0000 |
commit | c2c38605a61b96cf0a36ee2057d6dc9f36c9a7da (patch) | |
tree | 95606e504302e4023f7367db582548e179156fe5 /include | |
parent | 83f70bd0a467ee0fdea0728b09031345ea10ffbf (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')
-rw-r--r-- | include/m_string.h | 2 |
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) {
|