mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 13:37:00 +00:00
[9330] Fixed msvc compile warnings.
This commit is contained in:
parent
a167fd98d2
commit
696cba9c37
20 changed files with 142 additions and 144 deletions
|
|
@ -343,7 +343,7 @@ int WorldSocket::handle_output (ACE_HANDLE)
|
|||
|
||||
return -1;
|
||||
}
|
||||
else if (n < send_len) //now n > 0
|
||||
else if (n < (ssize_t)send_len) //now n > 0
|
||||
{
|
||||
m_OutBuffer->rd_ptr (static_cast<size_t> (n));
|
||||
|
||||
|
|
@ -400,7 +400,7 @@ int WorldSocket::handle_output_queue (GuardType& g)
|
|||
mblk->release();
|
||||
return -1;
|
||||
}
|
||||
else if (n < send_len) //now n > 0
|
||||
else if (n < (ssize_t)send_len) //now n > 0
|
||||
{
|
||||
mblk->rd_ptr (static_cast<size_t> (n));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue