diff options
Diffstat (limited to 'match.c')
-rw-r--r-- | match.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -137,7 +137,7 @@ match_pattern_list(const char *string, const char *pattern, u_int len, | |||
137 | i < len && subi < sizeof(sub) - 1 && pattern[i] != ','; | 137 | i < len && subi < sizeof(sub) - 1 && pattern[i] != ','; |
138 | subi++, i++) | 138 | subi++, i++) |
139 | sub[subi] = dolower && isupper(pattern[i]) ? | 139 | sub[subi] = dolower && isupper(pattern[i]) ? |
140 | tolower(pattern[i]) : pattern[i]; | 140 | (char)tolower(pattern[i]) : pattern[i]; |
141 | /* If subpattern too long, return failure (no match). */ | 141 | /* If subpattern too long, return failure (no match). */ |
142 | if (subi >= sizeof(sub) - 1) | 142 | if (subi >= sizeof(sub) - 1) |
143 | return 0; | 143 | return 0; |