Skip to content

Commit

Permalink
sieve-lex.l: fix warning for using function without prototype
Browse files Browse the repository at this point in the history
  • Loading branch information
dilyanpalauzov committed Aug 24, 2023
1 parent 2fffdc5 commit 869c92d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sieve/sieve-lex.l
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ ws [ \t]+
/* RFC 5228: With the exceptions of strings
and comments, the language is limited to
US-ASCII characters. */
if (!isascii(yytext[0])) {
if (yytext[0] & ~0x7f) {
sieveerror(sscript, "non-ASCII character");
}
return yytext[0];
Expand Down

0 comments on commit 869c92d

Please sign in to comment.