mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
[Cleanup] Use explicit conversions for enum formatting (#4064)
This is prep for updating to fmt 10 which removed implicit conversions for enums.
This commit is contained in:
@@ -516,7 +516,7 @@ int Client::HandlePacket(const EQApplicationPacket *app)
|
||||
case CLIENT_LINKDEAD:
|
||||
break;
|
||||
default:
|
||||
LogDebug("Unknown client_state: [{}]\n", client_state);
|
||||
LogDebug("Unknown client_state: [{}]\n", static_cast<int>(client_state));
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -16342,7 +16342,7 @@ void Client::Handle_OP_XTargetRequest(const EQApplicationPacket *app)
|
||||
}
|
||||
|
||||
default:
|
||||
LogDebug("Unhandled XTarget Type [{}]", Type);
|
||||
LogDebug("Unhandled XTarget Type [{}]", static_cast<int>(Type));
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user