Core/Misc: Get rid of some warnings.

This commit is contained in:
w1sht0l1v3
2014-09-11 23:08:02 +03:00
parent dd687592ca
commit 0392bf9bdf

View File

@@ -60,7 +60,7 @@ public:
virtual void StopNetwork()
{
if (_threadCount != 0)
for (size_t i = 0; i < _threadCount; ++i)
for (int32 i = 0; i < _threadCount; ++i)
_threads[i].Stop();
Wait();
@@ -69,7 +69,7 @@ public:
void Wait()
{
if (_threadCount != 0)
for (size_t i = 0; i < _threadCount; ++i)
for (int32 i = 0; i < _threadCount; ++i)
_threads[i].Wait();
}
@@ -77,7 +77,7 @@ public:
{
size_t min = 0;
for (size_t i = 1; i < _threadCount; ++i)
for (int32 i = 1; i < _threadCount; ++i)
if (_threads[i].GetConnectionCount() < _threads[min].GetConnectionCount())
min = i;