From fc9a86f6d2de1c8b5fb05dbfc0bcb70173fd6775 Mon Sep 17 00:00:00 2001 From: Alam Ed Arias Date: Thu, 22 Dec 2016 19:39:14 -0500 Subject: [PATCH] Mingw: fixup unsigned/signed compare --- src/p_enemy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_enemy.c b/src/p_enemy.c index 025a2597..a8a6bb6b 100644 --- a/src/p_enemy.c +++ b/src/p_enemy.c @@ -7644,7 +7644,7 @@ void A_SetObjectFlags(mobj_t *actor) else if (locvar2 == 1) locvar1 = actor->flags & ~locvar1; - if ((locvar1 & (MF_NOBLOCKMAP|MF_NOSECTOR)) != (actor->flags & (MF_NOBLOCKMAP|MF_NOSECTOR))) // Blockmap/sector status has changed, so reset the links + if ((UINT32)(locvar1 & (MF_NOBLOCKMAP|MF_NOSECTOR)) != (actor->flags & (MF_NOBLOCKMAP|MF_NOSECTOR))) // Blockmap/sector status has changed, so reset the links unlinkthings = true; if (unlinkthings) {