Skip to content

Commit

Permalink
[Minor] Use unsigned char for ascii checks
Browse files Browse the repository at this point in the history
  • Loading branch information
vstakhov committed Jan 5, 2023
1 parent 52abb61 commit 2910ed5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/chartable.cxx
Expand Up @@ -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;

Expand Down

0 comments on commit 2910ed5

Please sign in to comment.