From c3eec6db4d4535798d32d393d62ae653f8553f3a Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Wed, 20 Apr 2016 20:03:21 +0200 Subject: [PATCH] -fixed warnings --- src/p_saveg.cpp | 2 +- src/p_spec.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/p_saveg.cpp b/src/p_saveg.cpp index 55320e056..efcbb2406 100644 --- a/src/p_saveg.cpp +++ b/src/p_saveg.cpp @@ -453,7 +453,7 @@ void P_SerializeWorld (FArchive &arc) void P_SerializeWorldActors(FArchive &arc) { - int i, j; + int i; sector_t *sec; for (i = 0, sec = sectors; i < numsectors; i++, sec++) diff --git a/src/p_spec.cpp b/src/p_spec.cpp index fbbc77a04..af6a82083 100644 --- a/src/p_spec.cpp +++ b/src/p_spec.cpp @@ -893,7 +893,7 @@ void P_SetupPortals() { if (ss.mType == PORTS_STACKEDSECTORTHING && ss.mSkybox == s.mSkybox->target) { - s.mPartner = (&ss) - §orPortals[0]; + s.mPartner = unsigned((&ss) - §orPortals[0]); } } }