aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorw1sht0l1v3 <w1sht0l1v3@gmail.com>2014-09-11 23:08:02 +0300
committerw1sht0l1v3 <w1sht0l1v3@gmail.com>2014-09-11 23:08:02 +0300
commit0392bf9bdfaed726a1ef473bb477b338765f4806 (patch)
treeb6f3bcf766d8d6bfac02c523fedb14aaadd324b2 /src
parentdd687592ca810e03e4adf88dc3ad9a3302d337d9 (diff)
Core/Misc: Get rid of some warnings.
Diffstat (limited to 'src')
-rw-r--r--src/server/shared/Networking/SocketMgr.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/shared/Networking/SocketMgr.h b/src/server/shared/Networking/SocketMgr.h
index ed638ab89f3..47bd7794a4c 100644
--- a/src/server/shared/Networking/SocketMgr.h
+++ b/src/server/shared/Networking/SocketMgr.h
@@ -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;