From d7821a49dda9495642aafc8aa1e6b2bc50c6e6d7 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 23 Jun 2021 12:06:56 +0100 Subject: [PATCH] [Minor] Workaround for old libicu (docs in libicu are still wrong) --- src/libserver/html/html_entities.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5