From 62ed90b252eb42477159c6c652a4f51f9049c063 Mon Sep 17 00:00:00 2001 From: Monster Iestyn Date: Mon, 17 Jun 2019 20:54:06 +0100 Subject: [PATCH] fix type mismatch by typecasting --- src/p_slopes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_slopes.c b/src/p_slopes.c index 8e646e730..19d0bbbb7 100644 --- a/src/p_slopes.c +++ b/src/p_slopes.c @@ -602,7 +602,7 @@ void P_CopySectorSlope(line_t *line) // if this is an FOF control sector, make sure any target sectors also are marked as having slopes if (fsec->numattached) - for (i = 0; i < fsec->numattached; i++) + for (i = 0; i < (int)fsec->numattached; i++) sectors[fsec->attached[i]].hasslope = true; line->special = 0; // Linedef was use to set slopes, it finished its job, so now make it a normal linedef