2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 06:15:37 +00:00

Quiet compiler sign compare warning.

This commit is contained in:
Todd C. Miller
2014-12-16 10:46:25 -07:00
parent 88c4a9668e
commit b633e88c12

View File

@@ -785,7 +785,7 @@ match(Char *name, Char *pat, Char *patend)
++pat;
while (((c = *pat++) & M_MASK) != M_END) {
if ((c & M_MASK) == M_CLASS) {
int idx = *pat & M_MASK;
Char idx = *pat & M_MASK;
if (idx < NCCLASSES &&
cclasses[idx].isctype(k))
ok = 1;