[8845] fixed some gcc warnings

This commit is contained in:
balrok 2009-11-20 12:44:56 +01:00
parent d45b6884ee
commit 1d362eace4
20 changed files with 51 additions and 52 deletions

View file

@ -455,7 +455,8 @@ void Channel::List(Player* player)
// PLAYER can't see MODERATOR, GAME MASTER, ADMINISTRATOR characters
// MODERATOR, GAME MASTER, ADMINISTRATOR can see all
if (plr && (player->GetSession()->GetSecurity() > SEC_PLAYER || plr->GetSession()->GetSecurity() <= gmLevelInWhoList) &&
if (plr && (player->GetSession()->GetSecurity() > SEC_PLAYER ||
(uint32)plr->GetSession()->GetSecurity() <= gmLevelInWhoList) &&
plr->IsVisibleGloballyFor(player))
{
data << uint64(i->first);