Merge pull request #398 from devnexen/array_subscript_warn_fix

Disable array subscript warning
This commit is contained in:
van Hauser
2020-06-10 09:25:31 +02:00
committed by GitHub
2 changed files with 4 additions and 4 deletions

View File

@ -231,7 +231,7 @@ static int stricmp(char const *a, char const *b) {
for (;; ++a, ++b) {
int d;
d = tolower(*a) - tolower(*b);
d = tolower((int)*a) - tolower((int)*b);
if (d != 0 || !*a) { return d; }
}