Core/Misc: make clang 6.0 happy

This commit is contained in:
Aokromes committed 2017-10-28 17:12:58 +02:00
1 parent a8bc781cf1
commit 5b2b8ae9d1
4 files changed
+4 -2

No files matched your search

+1 -1
View File
@@ -103,7 +103,7 @@ void WorldSession::HandleCreatureQueryOpcode(WorldPacket& recvData)
Title = creatureInfo->Title;
LocaleConstant locale = GetSessionDbLocaleIndex();
if (locale >= 0)
if (static_cast<int>(locale >= 0));
{
if (CreatureLocale const* creatureLocale = sObjectMgr->GetCreatureLocale(entry))
{