Fixed warning in [platform]

This commit is contained in:
Sergey Yershov 2015-03-17 14:28:40 +03:00 committed by Alex Zolotarev
parent 033cafe980
commit a97b51a6aa

View file

@ -189,7 +189,7 @@ ChunksDownloadStrategy::NextChunk(string & outUrl, RangeT & range)
switch (m_chunks[i].m_status)
{
case CHUNK_FREE:
server->m_chunkIndex = i;
server->m_chunkIndex = static_cast<int>(i);
outUrl = server->m_url;
range.first = m_chunks[i].m_pos;