mirror of
https://github.com/sudo-project/sudo.git
synced 2025-09-02 07:15:27 +00:00
Quiet compiler sign compare warning.
This commit is contained in:
@@ -785,7 +785,7 @@ match(Char *name, Char *pat, Char *patend)
|
|||||||
++pat;
|
++pat;
|
||||||
while (((c = *pat++) & M_MASK) != M_END) {
|
while (((c = *pat++) & M_MASK) != M_END) {
|
||||||
if ((c & M_MASK) == M_CLASS) {
|
if ((c & M_MASK) == M_CLASS) {
|
||||||
int idx = *pat & M_MASK;
|
Char idx = *pat & M_MASK;
|
||||||
if (idx < NCCLASSES &&
|
if (idx < NCCLASSES &&
|
||||||
cclasses[idx].isctype(k))
|
cclasses[idx].isctype(k))
|
||||||
ok = 1;
|
ok = 1;
|
||||||
|
Reference in New Issue
Block a user