diff --git a/Source/Core/DolphinWX/FrameAui.cpp b/Source/Core/DolphinWX/FrameAui.cpp index 0e0be65847..db715139be 100644 --- a/Source/Core/DolphinWX/FrameAui.cpp +++ b/Source/Core/DolphinWX/FrameAui.cpp @@ -533,8 +533,7 @@ void CFrame::OnPerspectiveMenu(wxCommandEvent& event) wxTextEntryDialog dlg(this, _("Enter a name for the new perspective:"), _("Create new perspective")); - wxString DefaultValue = wxString::Format(_("Perspective %d"), - Perspectives.size() + 1); + wxString DefaultValue = wxString::Format(_("Perspective %d"), (int)(Perspectives.size() + 1)); dlg.SetValue(DefaultValue); int Return = 0;