diff options
Diffstat (limited to 'src/libserver/html/html.cxx')
-rw-r--r-- | src/libserver/html/html.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libserver/html/html.cxx b/src/libserver/html/html.cxx index a5cab7470..265a31f13 100644 --- a/src/libserver/html/html.cxx +++ b/src/libserver/html/html.cxx @@ -313,7 +313,7 @@ html_parse_tag_content(rspamd_mempool_t *pool, if (c == '\0') { /* Replace with u0FFD */ - parser_env.buf.append(u8"\uFFFD"); + parser_env.buf.append((const char *)u8"\uFFFD"); } else { parser_env.buf.push_back(c); @@ -1052,7 +1052,7 @@ html_append_parsed(struct html_content *hc, const auto last = input.cend(); for (auto it = input.cbegin(); it != last; ++it) { if (*it == '\0') { - output.append(u8"\uFFFD"); + output.append((const char *)u8"\uFFFD"); } else { output.push_back(*it); |