| Index: core/src/fxcrt/fx_basic_bstring.cpp
|
| diff --git a/core/src/fxcrt/fx_basic_bstring.cpp b/core/src/fxcrt/fx_basic_bstring.cpp
|
| index ea9ca850218b1667b04a247030c0354f04ab0427..cda7d1fdd7531618c6fd2e857fb3ecb29dc60fa6 100644
|
| --- a/core/src/fxcrt/fx_basic_bstring.cpp
|
| +++ b/core/src/fxcrt/fx_basic_bstring.cpp
|
| @@ -276,7 +276,7 @@ bool CFX_ByteString::EqualNoCase(FX_BSTR str) const
|
| return false;
|
| }
|
| FX_LPCBYTE pThis = (FX_LPCBYTE)m_pData->m_String;
|
| - FX_LPCBYTE pThat = (FX_LPCBYTE)str;
|
| + FX_LPCBYTE pThat = str.GetPtr();
|
| for (FX_STRSIZE i = 0; i < len; i ++) {
|
| if ((*pThis) != (*pThat)) {
|
| FX_BYTE bThis = *pThis;
|
|
|