GCC compile fixes.

SVN r189 (trunk)
This commit is contained in:
Christoph Oelckers 2006-06-14 20:24:43 +00:00
commit 6e19881b6f
2 changed files with 8 additions and 8 deletions

View file

@ -187,7 +187,7 @@ static void P_SetSideNum (DWORD *sidenum_p, WORD sidenum);
static int GetMapIndex(const char * mapname, int lastindex, const char * lumpname)
{
static struct
static struct checkstruct
{
char * lumpname;
bool required;
@ -923,7 +923,7 @@ void P_LoadSegs (MapData * map)
void P_LoadSubsectors (MapData * map)
{
int i;
int maxseg = map->Size(ML_SEGS) / sizeof(mapseg_t);
DWORD maxseg = map->Size(ML_SEGS) / sizeof(mapseg_t);
numsubsectors = map->MapLumps[ML_SSECTORS].Size / sizeof(mapsubsector_t);