- fix c++11's compile problems.
This commit is contained in:
parent
4d3f6cae2e
commit
737708b635
7 changed files with 10 additions and 10 deletions
|
|
@ -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)
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue