From 8b2464a723f7039a3efbc0c7d2e883729b3fa7dd Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 3 Aug 2014 00:46:38 +0300 Subject: Fix some casts. --- src/gui/popups/popupmenu.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gui/popups') diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index bd8ed9206..aac6c1b21 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -1419,7 +1419,8 @@ void PopupMenu::handleLink(const std::string &link, } else { - dialog->setText(Being::loadComment(mNick, mType)); + dialog->setText(Being::loadComment(mNick, + static_cast(mType))); } dialog->setActionEventId("ok"); dialog->addActionListener(&mPlayerListener); -- cgit v1.2.3-70-g09d2