Core: Fix compile (Thanks to Sovak for reporting). Remove many warnings and Fix possible out of bounds access to Void storage

This commit is contained in:
Spp
2012-08-17 10:25:29 +02:00
parent 0499123f20
commit 8da0bbdbb3
17 changed files with 74 additions and 48 deletions

View File

@@ -699,7 +699,7 @@ void ChatHandler::FillMessageData(WorldPacket* data, WorldSession* session, uint
*data << channelName;
*data << uint64(target_guid);
}
else if (type == CHAT_MSG_ADDON)
else if (type == uint8(CHAT_MSG_ADDON))
{
ASSERT(addonPrefix);
*data << addonPrefix;