diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-10-18 20:05:08 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-10-18 20:05:08 +0000 |
commit | 8c5cf9634f560f7dd3976d762573071d9fca31b3 (patch) | |
tree | b313623e6ba187922ce2a8328b1d48b8a9b37b7a /include/m_string.h | |
parent | bef8ac146a1f276261ff617fe0f1086bf2f3c85d (diff) |
small code warning fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@6521 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_string.h')
-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 fd7ab6a235..7417e4ef3f 100644 --- a/include/m_string.h +++ b/include/m_string.h @@ -214,7 +214,7 @@ public: // See comment in SetString() about why we do this
UINT_PTR nOffset = pszSrc - GetString();
- UINT nOldLength = GetLength();
+ int nOldLength = GetLength();
if (nOldLength < 0) {
// protects from underflow
nOldLength = 0;
|