-fixed warnings

This commit is contained in:
Christoph Oelckers 2016-04-20 20:03:21 +02:00
parent 074bce643a
commit c3eec6db4d
2 changed files with 2 additions and 2 deletions

View file

@ -453,7 +453,7 @@ void P_SerializeWorld (FArchive &arc)
void P_SerializeWorldActors(FArchive &arc) void P_SerializeWorldActors(FArchive &arc)
{ {
int i, j; int i;
sector_t *sec; sector_t *sec;
for (i = 0, sec = sectors; i < numsectors; i++, sec++) for (i = 0, sec = sectors; i < numsectors; i++, sec++)

View file

@ -893,7 +893,7 @@ void P_SetupPortals()
{ {
if (ss.mType == PORTS_STACKEDSECTORTHING && ss.mSkybox == s.mSkybox->target) if (ss.mType == PORTS_STACKEDSECTORTHING && ss.mSkybox == s.mSkybox->target)
{ {
s.mPartner = (&ss) - &sectorPortals[0]; s.mPartner = unsigned((&ss) - &sectorPortals[0]);
} }
} }
} }