summaryrefslogtreecommitdiff
path: root/src/gui/selldialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/selldialog.cpp')
-rw-r--r--src/gui/selldialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/selldialog.cpp b/src/gui/selldialog.cpp
index 0e1b16de7..38355db03 100644
--- a/src/gui/selldialog.cpp
+++ b/src/gui/selldialog.cpp
@@ -179,7 +179,7 @@ void SellDialog::action(const gcn::ActionEvent &event)
// The following actions require a valid item selection
if (selectedItem == -1 ||
- selectedItem >= static_cast<int>(mShopItems->getNumberOfElements()))
+ selectedItem >= mShopItems->getNumberOfElements())
{
return;
}