diff options
author | George Hazan <george.hazan@gmail.com> | 2013-11-24 17:46:32 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-11-24 17:46:32 +0000 |
commit | a5623f9f37374ef4a59c077d9784de7fd53897ba (patch) | |
tree | f0f4958140e775a87fa543af8e06270ac75fa820 /include | |
parent | 5b6f2daa070dff9998af4259daa3926cb70bb817 (diff) |
warning fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@6977 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 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
|