From: Vsevolod Stakhov Date: Wed, 23 Jun 2021 11:06:56 +0000 (+0100) Subject: [Minor] Workaround for old libicu (docs in libicu are still wrong) X-Git-Tag: 3.0~254 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d7821a49dda9495642aafc8aa1e6b2bc50c6e6d7;p=rspamd.git [Minor] Workaround for old libicu (docs in libicu are still wrong) --- diff --git a/src/libserver/html/html_entities.cxx b/src/libserver/html/html_entities.cxx index 97c84f64e..d024c12e1 100644 --- a/src/libserver/html/html_entities.cxx +++ b/src/libserver/html/html_entities.cxx @@ -2399,7 +2399,7 @@ decode_html_entitles_inplace(char *s, std::size_t len, bool norm_spaces) UBool is_error = 0; if (uc > 0) { - U8_APPEND (s, off, len, uc, is_error); + U8_APPEND ((std::uint8_t *)s, off, len, uc, is_error); if (!is_error) { t = s + off;