summaryrefslogtreecommitdiff
path: root/src/gui/trade.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-27 00:17:27 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-27 00:30:38 +0100
commit511d9ac780e094767e806c9a448ac973279dd4c8 (patch)
treea9051719bfdbce7f41338ef03a6f95d442a770cf /src/gui/trade.cpp
parent2eee8b31f6959902db031e61df6c79249f56c23c (diff)
downloadmana-511d9ac780e094767e806c9a448ac973279dd4c8.tar.gz
mana-511d9ac780e094767e806c9a448ac973279dd4c8.tar.bz2
mana-511d9ac780e094767e806c9a448ac973279dd4c8.tar.xz
mana-511d9ac780e094767e806c9a448ac973279dd4c8.zip
Compile warning fixes
Mostly unsigned/signed mismatches and an unused variable.
Diffstat (limited to 'src/gui/trade.cpp')
-rw-r--r--src/gui/trade.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/trade.cpp b/src/gui/trade.cpp
index 2ba076a3..a95e1d43 100644
--- a/src/gui/trade.cpp
+++ b/src/gui/trade.cpp
@@ -277,7 +277,7 @@ void TradeWindow::valueChanged(const gcn::SelectionEvent &event)
if (event.getSource() == mMyItemContainer &&
(item = mMyItemContainer->getSelectedItem()))
mPartnerItemContainer->selectNone();
- else if (item = mPartnerItemContainer->getSelectedItem())
+ else if ((item = mPartnerItemContainer->getSelectedItem()))
mMyItemContainer->selectNone();
}