- fix c++11's compile problems.

This commit is contained in:
Christoph Oelckers 2013-08-28 08:33:11 +02:00
commit 737708b635
7 changed files with 10 additions and 10 deletions

View file

@ -130,7 +130,7 @@ static int MergeMapSections(int num)
cvertex_t vt;
// first step: Set mapsection for all vertex positions.
for(DWORD i=0;i<numsegs;i++)
for(DWORD i=0;i<(DWORD)numsegs;i++)
{
seg_t * seg = &segs[i];
int section = seg->Subsector->mapsection;
@ -142,7 +142,7 @@ static int MergeMapSections(int num)
}
// second step: Check if any seg references more than one mapsection, either by subsector or by vertex
for(DWORD i=0;i<numsegs;i++)
for(DWORD i=0;i<(DWORD)numsegs;i++)
{
seg_t * seg = &segs[i];
int section = seg->Subsector->mapsection;
@ -733,4 +733,4 @@ CCMD(listmapsections)
}
}
}
}
}