diff --git a/Source/UI/Items/UISwapEquipmentWnd.cpp b/Source/UI/Items/UISwapEquipmentWnd.cpp index a0e17b8bb..370e1d8c4 100644 --- a/Source/UI/Items/UISwapEquipmentWnd.cpp +++ b/Source/UI/Items/UISwapEquipmentWnd.cpp @@ -445,7 +445,7 @@ void UISwapEquipmentWnd::Slot28(int x, int y) { } else if (item.unknown_0098 != 0) { text = static_cast(FormatOwnedString(LookupMessage(0xA28), item.DisplayName(0).c_str(), item.unknown_0098)); } else { - text = item.DisplayName(0); + text = static_cast(item.DisplayName(0)); } g_modeMgr.GetGameMode()->ShowTooltip(text.c_str(), tooltipX, tooltipY, g_session.GetItemNameColor(item), 0, 1);