diff options
Diffstat (limited to 'include/m_system.h')
-rw-r--r-- | include/m_system.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/m_system.h b/include/m_system.h index 5162b82692..753498b2df 100644 --- a/include/m_system.h +++ b/include/m_system.h @@ -449,7 +449,7 @@ class T2Utf : public ptrA { public: __forceinline T2Utf(const wchar_t *str) : ptrA(mir_utf8encodeW(str)) {} - __forceinline operator BYTE *() const { return (BYTE *)data; } + __forceinline operator uint8_t*() const { return (uint8_t*)data; } #ifdef _XSTRING_ std::string str() const { return std::string(data); } #endif |