diff options
Diffstat (limited to 'include/m_core.h')
-rw-r--r-- | include/m_core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/m_core.h b/include/m_core.h index 788d82e96d..b39b0fd703 100644 --- a/include/m_core.h +++ b/include/m_core.h @@ -699,7 +699,7 @@ public: return res;
}
- __forceinline char& operator[](int idx) const { return m_str[idx]; }
+ __forceinline char& operator[](size_t idx) const { return m_str[idx]; }
__forceinline operator char*() const { return m_str; }
__forceinline operator unsigned char*() const { return (unsigned char*)m_str; }
__forceinline operator LPARAM() const { return (LPARAM)m_str; }
|