| Index: core/src/fxcrt/fxcrt_platforms.cpp
|
| diff --git a/core/src/fxcrt/fxcrt_platforms.cpp b/core/src/fxcrt/fxcrt_platforms.cpp
|
| index e14e36207948f5cee40aeff019306ecb03cbe698..1c47ee6c9b71f247335668c1c10d0f01a72735be 100644
|
| --- a/core/src/fxcrt/fxcrt_platforms.cpp
|
| +++ b/core/src/fxcrt/fxcrt_platforms.cpp
|
| @@ -56,7 +56,7 @@ FX_BOOL CFXCRT_FileAccess_CRT::Open(FX_WSTR fileName, FX_DWORD dwMode)
|
| }
|
| CFX_WideString strMode;
|
| FXCRT_GetFileModeString(dwMode, strMode);
|
| - m_hFile = FXSYS_wfopen(fileName.GetPtr(), (FX_LPCWSTR)strMode);
|
| + m_hFile = FXSYS_wfopen(fileName.GetPtr(), strMode.c_str());
|
| return m_hFile != NULL;
|
| }
|
| void CFXCRT_FileAccess_CRT::Close()
|
|
|