Core: Some warning fixes
--HG-- branch : trunk
This commit is contained in:
@@ -222,7 +222,7 @@ bool WorldSession::Update(uint32 diff, PacketFilter& updater)
|
||||
|
||||
///- Retrieve packets from the receive queue and call the appropriate handlers
|
||||
/// not process packets if socket already closed
|
||||
WorldPacket* packet;
|
||||
WorldPacket* packet = NULL;
|
||||
while (m_Socket && !m_Socket->IsClosed() && _recvQueue.next(packet, updater))
|
||||
{
|
||||
/*#if 1
|
||||
|
||||
@@ -626,7 +626,7 @@ int WorldSocket::handle_input_missing_data (void)
|
||||
}
|
||||
}
|
||||
|
||||
return n == recv_size ? 1 : 2;
|
||||
return size_t(n) == recv_size ? 1 : 2;
|
||||
}
|
||||
|
||||
int WorldSocket::cancel_wakeup_output (GuardType& g)
|
||||
|
||||
Reference in New Issue
Block a user