diff options
-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 7417e4ef3f..aba36c1d2f 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
- UINT_PTR nOffset = pszSrc - GetString();
+ int nOffset = pszSrc - GetString();
int nOldLength = GetLength();
if (nOldLength < 0) {
|