diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-01-05 10:12:13 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-01-05 10:12:13 +0000 |
commit | 2910ed59c0d55ec9cb9d9f973bfc65baed5c5a62 (patch) | |
tree | 4c8f4e86da3bca667265dfa14705b055bde3fb3a /src/plugins | |
parent | 52abb61a10d81cbf98940a64167494b07b603dfd (diff) | |
download | rspamd-2910ed59c0d55ec9cb9d9f973bfc65baed5c5a62.tar.gz rspamd-2910ed59c0d55ec9cb9d9f973bfc65baed5c5a62.zip |
[Minor] Use unsigned char for ascii checks
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/chartable.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/chartable.cxx b/src/plugins/chartable.cxx index 6e3fd9b10..a78e7a1a5 100644 --- a/src/plugins/chartable.cxx +++ b/src/plugins/chartable.cxx @@ -494,7 +494,7 @@ rspamd_chartable_process_word_ascii(struct rspamd_task *task, got_unknown, } state = start_process; - const auto *p = w->normalized.begin; + const auto *p = (const unsigned char *)w->normalized.begin; const auto *end = p + w->normalized.len; last_sc = non_ascii; |