sudoers plugin: silence most -Wconversion warnings.

This commit is contained in:
Todd C. Miller
2023-07-07 15:07:04 -06:00
parent 4891f37a45
commit a38b714667
58 changed files with 352 additions and 322 deletions

View File

@@ -2188,7 +2188,7 @@ LookupWord(char *buff)
/* Make it lowercase. */
for (p = buff; *p; p++) {
if (isupper((unsigned char)*p))
*p = tolower((unsigned char)*p);
*p = (char)tolower((unsigned char)*p);
}
if ((bufflen = (int)(p - buff)) == 0)
return '\0';