Remove more VC++ warnings

This commit is contained in:
Randy Heit 2014-04-03 17:51:15 -05:00
parent f429510cd1
commit 940794929c
3 changed files with 3 additions and 3 deletions

View file

@ -7893,7 +7893,7 @@ scriptwait:
if (tag != 0)
secnum = P_FindSectorFromTag (tag, -1);
else
secnum = P_PointInSector (x, y) - sectors;
secnum = int(P_PointInSector (x, y) - sectors);
if (secnum >= 0)
{

View file

@ -2138,7 +2138,7 @@ void P_ZMovement (AActor *mo, fixed_t oldfloorz)
fixed_t oldz = mo->z;
fixed_t grav = mo->GetGravity();
//
//
// check for smooth step up
//
if (mo->player && mo->player->mo == mo && mo->z < mo->floorz)

View file

@ -57,7 +57,7 @@ void CheckCPUID(CPUInfo *cpu)
#if defined(_M_IX86) || defined(__i386__)
// Old 486s do not have CPUID, so we must test for its presence.
// This code is adapted from the samples in AMD's document
// entitled "AMD-K6 MMX Processor Multimedia Extensions."
// entitled "AMD-K6 MMX Processor Multimedia Extensions."
#ifndef __GNUC__
__asm
{