Index: core/fxcrt/fxcrt_posix.cpp |
diff --git a/core/fxcrt/fxcrt_posix.cpp b/core/fxcrt/fxcrt_posix.cpp |
index 2f17e71567c70dea87bf664e08f367c1b99c1430..25a78368ff7ec581ad7b08adf24e635dbb004692 100644 |
--- a/core/fxcrt/fxcrt_posix.cpp |
+++ b/core/fxcrt/fxcrt_posix.cpp |
@@ -40,7 +40,7 @@ FX_BOOL CFXCRT_FileAccess_Posix::Open(const CFX_ByteStringC& fileName, |
} |
int32_t nFlags, nMasks; |
FXCRT_Posix_GetFileMode(dwMode, nFlags, nMasks); |
- m_nFD = open(fileName.GetCStr(), nFlags, nMasks); |
+ m_nFD = open(fileName.c_str(), nFlags, nMasks); |
return m_nFD > -1; |
} |
FX_BOOL CFXCRT_FileAccess_Posix::Open(const CFX_WideStringC& fileName, |