-fixed warnings

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

View file

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