Core: Some warning fixes

--HG--
branch : trunk
This commit is contained in:
Spp
2010-12-15 10:44:06 +01:00
parent ddf06c086e
commit 382fef1958
7 changed files with 17 additions and 15 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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)