From 511d9ac780e094767e806c9a448ac973279dd4c8 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Fri, 27 Mar 2009 00:17:27 +0100 Subject: Compile warning fixes Mostly unsigned/signed mismatches and an unused variable. --- src/gui/trade.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/trade.cpp') 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(); } -- cgit v1.2.3-70-g09d2