diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-03-05 16:50:48 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-03-05 16:50:48 +0000 |
commit | 10bb08dd2d8484d0d1d2ae507b94aaa24f48b61b (patch) | |
tree | 4be95a74ed82002f2ed4b295532ba3f3fde49dba /src/libutil | |
parent | d708e8979b0e0f16146e067a7b3f59f7c28cb2ba (diff) | |
download | rspamd-10bb08dd2d8484d0d1d2ae507b94aaa24f48b61b.tar.gz rspamd-10bb08dd2d8484d0d1d2ae507b94aaa24f48b61b.zip |
[Minor] Various fixes for display link detection
Diffstat (limited to 'src/libutil')
-rw-r--r-- | src/libutil/str_util.c | 2 | ||||
-rw-r--r-- | src/libutil/str_util.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libutil/str_util.c b/src/libutil/str_util.c index 5a44ed311..00774d588 100644 --- a/src/libutil/str_util.c +++ b/src/libutil/str_util.c @@ -3023,7 +3023,7 @@ rspamd_get_unicode_normalizer (void) enum rspamd_normalise_result rspamd_normalise_unicode_inplace (rspamd_mempool_t *pool, gchar *start, - guint *len) + gsize *len) { #if U_ICU_VERSION_MAJOR_NUM >= 44 UErrorCode uc_err = U_ZERO_ERROR; diff --git a/src/libutil/str_util.h b/src/libutil/str_util.h index 0e66d0ed1..427d6b94e 100644 --- a/src/libutil/str_util.h +++ b/src/libutil/str_util.h @@ -491,7 +491,7 @@ enum rspamd_normalise_result { * @return TRUE if a string has been normalised */ enum rspamd_normalise_result rspamd_normalise_unicode_inplace (rspamd_mempool_t *pool, - gchar *start, guint *len); + gchar *start, gsize *len); enum rspamd_regexp_escape_flags { RSPAMD_REGEXP_ESCAPE_ASCII = 0, |