mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Fix warnings
This commit is contained in:
parent
2586c001b7
commit
245afcb4b2
|
@ -77,7 +77,7 @@ CGhost::CGhostPath &CGhost::CGhostPath::operator = (CGhostPath &&Other)
|
|||
|
||||
void CGhost::CGhostPath::Reset(int ChunkSize)
|
||||
{
|
||||
for(int i = 0; i < m_lChunks.size(); i++)
|
||||
for(unsigned i = 0; i < m_lChunks.size(); i++)
|
||||
mem_free(m_lChunks[i]);
|
||||
m_lChunks.clear();
|
||||
m_ChunkSize = ChunkSize;
|
||||
|
|
|
@ -221,7 +221,7 @@ bool CRaceDemo::CheckDemo(int Time) const
|
|||
Storage()->ListDirectoryInfo(IStorage::TYPE_SAVE, ms_pRaceDemoDir, RaceDemolistFetchCallback, &Param);
|
||||
|
||||
// loop through demo files
|
||||
for(int i = 0; i < lDemos.size(); i++)
|
||||
for(unsigned i = 0; i < lDemos.size(); i++)
|
||||
{
|
||||
if(Time >= lDemos[i].m_Time) // found a better demo
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue