Index: core/fxcrt/fxcrt_posix.cpp |
diff --git a/core/fxcrt/fxcrt_posix.cpp b/core/fxcrt/fxcrt_posix.cpp |
index a18bb69c550c4ce731650343a2a2973c98c2f278..9237acef6bf50d04d6d0a6451dd73a04da8f2aae 100644 |
--- a/core/fxcrt/fxcrt_posix.cpp |
+++ b/core/fxcrt/fxcrt_posix.cpp |
@@ -45,7 +45,7 @@ FX_BOOL CFXCRT_FileAccess_Posix::Open(const CFX_ByteStringC& fileName, |
} |
FX_BOOL CFXCRT_FileAccess_Posix::Open(const CFX_WideStringC& fileName, |
uint32_t dwMode) { |
- return Open(FX_UTF8Encode(fileName).AsByteStringC(), dwMode); |
+ return Open(FX_UTF8Encode(fileName).AsStringC(), dwMode); |
} |
void CFXCRT_FileAccess_Posix::Close() { |
if (m_nFD < 0) { |