From 420863252ace6aaa3a109bd0c35715f15c508a2a Mon Sep 17 00:00:00 2001 From: nhmall Date: Thu, 24 Jun 2021 08:52:43 -0400 Subject: [PATCH] warning in trap.c that recently appeared src/trap.c(5410): warning C4389: '==': signed/unsigned mismatch --- src/trap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/trap.c b/src/trap.c index 236092d2d..b8cdc739a 100644 --- a/src/trap.c +++ b/src/trap.c @@ -5407,7 +5407,7 @@ count_traps(int ttyp) struct trap *trap = g.ftrap; while (trap) { - if (trap->ttyp == ttyp) + if ((int) trap->ttyp == ttyp) ret++; trap = trap->ntrap; }