summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-10-18 20:05:08 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-10-18 20:05:08 +0000
commit8c5cf9634f560f7dd3976d762573071d9fca31b3 (patch)
treeb313623e6ba187922ce2a8328b1d48b8a9b37b7a /include
parentbef8ac146a1f276261ff617fe0f1086bf2f3c85d (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')
-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 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;