Index: core/src/fxcrt/fx_basic_wstring.cpp |
diff --git a/core/src/fxcrt/fx_basic_wstring.cpp b/core/src/fxcrt/fx_basic_wstring.cpp |
index 794630b9e5e488b0f3b5c70e99b49feaf36c4472..3a13d5905438cfefa6b8888d71cb896a9f24cc40 100644 |
--- a/core/src/fxcrt/fx_basic_wstring.cpp |
+++ b/core/src/fxcrt/fx_basic_wstring.cpp |
@@ -829,7 +829,7 @@ void CFX_WideString::FormatV(FX_LPCWSTR lpszFormat, va_list argList) |
; |
} |
if (nWidth < 0 || nWidth > 128 * 1024) { |
- lpszFormat = (FX_LPCWSTR)L"Bad width"; |
+ lpszFormat = L"Bad width"; |
nMaxLen = 10; |
break; |
} |
@@ -846,7 +846,7 @@ void CFX_WideString::FormatV(FX_LPCWSTR lpszFormat, va_list argList) |
} |
} |
if (nPrecision < 0 || nPrecision > 128 * 1024) { |
- lpszFormat = (FX_LPCWSTR)L"Bad precision"; |
+ lpszFormat = L"Bad precision"; |
nMaxLen = 14; |
break; |
} |