fix(CI/Core/ArenaSpectator): clang warnings + prevent new warnings (#3317)

Co-authored by @meerd
This commit is contained in:
Francesco Borzì
2020-08-19 19:44:07 +02:00
committed by GitHub
parent 4e4a0013bc
commit 2bc832efe3
5 changed files with 43 additions and 39 deletions

View File

@@ -28,7 +28,6 @@ Copied events should probably have a new owner
#include "Player.h"
#include "SocialMgr.h"
#include "CalendarMgr.h"
#include "ObjectMgr.h"
#include "ObjectAccessor.h"
#include "DatabaseEnv.h"
#include "GuildMgr.h"
@@ -212,7 +211,7 @@ bool validUtf8String(WorldPacket& recvData, std::string& s, std::string action,
{
if (!utf8::is_valid(s.begin(), s.end()))
{
sLog->outString("CalendarHandler: Player with guid %lu attempt to %s an event with invalid name or description (packet modification)", playerGUID, action.c_str());
sLog->outString("CalendarHandler: Player with guid %llu attempt to %s an event with invalid name or description (packet modification)", (unsigned long long)playerGUID, action.c_str());
recvData.rfinish();
return false;
}