Index: xfa/fxfa/fm2js/xfa_fmparse.cpp |
diff --git a/xfa/fxfa/fm2js/xfa_fmparse.cpp b/xfa/fxfa/fm2js/xfa_fmparse.cpp |
index e66a42f471a7764f8c38740a718543c47701c309..c99f015fca8ce5f9593ed3cd20bc1abbf1313424 100644 |
--- a/xfa/fxfa/fm2js/xfa_fmparse.cpp |
+++ b/xfa/fxfa/fm2js/xfa_fmparse.cpp |
@@ -964,7 +964,7 @@ CXFA_FMExpression* CXFA_FMParse::ParseForExpression() { |
} else { |
CFX_WideString ws_TempString = m_pToken->m_wstring; |
Error(m_pToken->m_uLinenum, FMERR_EXPECTED_TOKEN, L"upto or downto", |
- (const FX_WCHAR*)ws_TempString); |
+ ws_TempString.c_str()); |
} |
NextToken(); |
std::unique_ptr<CXFA_FMSimpleExpression> pAccessor(ParseSimpleExpression()); |