summaryrefslogtreecommitdiff
path: root/src/gui/tradewindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/tradewindow.cpp')
-rw-r--r--src/gui/tradewindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/tradewindow.cpp b/src/gui/tradewindow.cpp
index 5834dcc60..e56b28913 100644
--- a/src/gui/tradewindow.cpp
+++ b/src/gui/tradewindow.cpp
@@ -258,7 +258,7 @@ void TradeWindow::receivedOk(const bool own)
setStatus(ACCEPTING);
}
-void TradeWindow::tradeItem(Item *const item, const int quantity,
+void TradeWindow::tradeItem(const Item *const item, const int quantity,
const bool check) const
{
if (check && !checkItem(item))