diff options
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 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;
|