[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:
hg
2024-02-12 03:58:48 -05:00
committed by GitHub
parent 20c01ef343
commit e920e35a5c
21 changed files with 33 additions and 17 deletions
+1 -1
View File
@@ -6955,7 +6955,7 @@ void Client::ShowXTargets(Client *c)
fmt::format(
"xtarget slot [{}] type [{}] ID [{}] name [{}]",
i,
XTargets[i].Type,
static_cast<int>(XTargets[i].Type),
XTargets[i].ID,
strlen(XTargets[i].Name) ? XTargets[i].Name : "No Name"
).c_str()