Fixed signedness of count_match()

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO 2018-11-03 21:54:44 +01:00
parent 3cf2102238
commit 11a78de0c8

View File

@ -194,8 +194,8 @@ struct rule *create_rule_item(struct rule_cond *rule_cond){
} }
unsigned int count_match(struct rule *p, struct parser_state *state, int size, int spam){ int count_match(struct rule *p, struct parser_state *state, int size, int spam){
unsigned int ismatch=0; int ismatch=0;
size_t nmatch=0; size_t nmatch=0;
ismatch += check_spam_rule(spam, p->spam); ismatch += check_spam_rule(spam, p->spam);