From 85ab4015eb4ae2380603f4b36073ea736d11d79f Mon Sep 17 00:00:00 2001 From: TehRealSalt Date: Sat, 7 Jul 2018 16:38:54 -0400 Subject: [PATCH] The remaining errors on a GCC 6.3 setup --- src/hardware/hw_main.c | 2 +- src/r_main.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/hardware/hw_main.c b/src/hardware/hw_main.c index cd87b722..7996cf32 100644 --- a/src/hardware/hw_main.c +++ b/src/hardware/hw_main.c @@ -582,7 +582,7 @@ static void HWR_RenderPlane(sector_t *sector, extrasubsector_t *xsub, boolean is if (nrPlaneVerts < 3) //not even a triangle ? return; - if (nrPlaneVerts > UINT16_MAX) // FIXME: exceeds plVerts size + if ((UINT32)nrPlaneVerts > UINT16_MAX) // FIXME: exceeds plVerts size { CONS_Debug(DBG_RENDER, "polygon size of %d exceeds max value of %d vertices\n", nrPlaneVerts, UINT16_MAX); return; diff --git a/src/r_main.c b/src/r_main.c index c516b87a..49f69af0 100644 --- a/src/r_main.c +++ b/src/r_main.c @@ -213,7 +213,6 @@ void SplitScreen_OnChange(void) } else { - INT32 i; secondarydisplayplayer = consoleplayer; thirddisplayplayer = consoleplayer; fourthdisplayplayer = consoleplayer;