summaryrefslogtreecommitdiffstats
path: root/mailnews/compose/src/nsMsgCompUtils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mailnews/compose/src/nsMsgCompUtils.cpp')
-rw-r--r--mailnews/compose/src/nsMsgCompUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mailnews/compose/src/nsMsgCompUtils.cpp b/mailnews/compose/src/nsMsgCompUtils.cpp
index 4615f0f36..6632e3257 100644
--- a/mailnews/compose/src/nsMsgCompUtils.cpp
+++ b/mailnews/compose/src/nsMsgCompUtils.cpp
@@ -975,7 +975,7 @@ RFC2231ParmFolding(const char *parmName, const nsCString& charset,
bool needEscape;
nsCString dupParm;
- if (!NS_IsAscii(parmValue.get()) || is7bitCharset(charset)) {
+ if (!NS_IsAscii(static_cast<const char16_t*>(parmValue.get())) || is7bitCharset(charset)) {
needEscape = true;
nsAutoCString nativeParmValue;
ConvertFromUnicode(charset.get(), parmValue, nativeParmValue);