Browse Source

[Minor] Use unsigned char for ascii checks

tags/3.5
Vsevolod Stakhov 1 year ago
parent
commit
2910ed59c0
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/plugins/chartable.cxx

+ 1
- 1
src/plugins/chartable.cxx View File

@@ -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;


Loading…
Cancel
Save