commit 7974dd0: [Minor] Fix build with older icu
Vsevolod Stakhov
vsevolod at highsecure.ru
Mon May 17 20:49:04 UTC 2021
Author: Vsevolod Stakhov
Date: 2021-05-17 21:42:38 +0100
URL: https://github.com/rspamd/rspamd/commit/7974dd00478625cbe8e754e67e39bf52d361bda9 (HEAD -> master)
[Minor] Fix build with older icu
---
src/libutil/cxx/utf8_util.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
More information about the Commits
mailing list