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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user