aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-05-17 21:42:38 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-05-17 21:42:38 +0100
commit7974dd00478625cbe8e754e67e39bf52d361bda9 (patch)
tree37c6a495fead457830c0c2630be4df0a1a590944
parent268bc590b620479b80f8eb2c6f258fc70d09b7cf (diff)
downloadrspamd-7974dd00478625cbe8e754e67e39bf52d361bda9.tar.gz
rspamd-7974dd00478625cbe8e754e67e39bf52d361bda9.zip
[Minor] Fix build with older icu
-rw-r--r--src/libutil/cxx/utf8_util.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/cxx/utf8_util.cxx b/src/libutil/cxx/utf8_util.cxx
index 9343ab4c4..337961f2b 100644
--- a/src/libutil/cxx/utf8_util.cxx
+++ b/src/libutil/cxx/utf8_util.cxx
@@ -143,7 +143,7 @@ rspamd_normalise_unicode_inplace(char *start, size_t *len)
}
else {
UBool err = 0;
- U8_APPEND(start, i, *len, uc, err);
+ U8_APPEND((uint8_t*)start, i, *len, uc, err);
if (err) {
ret = RSPAMD_UNICODE_NORM_ERROR;