warning in trap.c that recently appeared
src/trap.c(5410): warning C4389: '==': signed/unsigned mismatch
This commit is contained in:
+1
-1
@@ -5407,7 +5407,7 @@ count_traps(int ttyp)
|
|||||||
struct trap *trap = g.ftrap;
|
struct trap *trap = g.ftrap;
|
||||||
|
|
||||||
while (trap) {
|
while (trap) {
|
||||||
if (trap->ttyp == ttyp)
|
if ((int) trap->ttyp == ttyp)
|
||||||
ret++;
|
ret++;
|
||||||
trap = trap->ntrap;
|
trap = trap->ntrap;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user