summaryrefslogtreecommitdiff
path: root/src/gui/npcdialog.cpp
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <bjorn@lindeijer.nl>2009-06-30 23:19:40 +0200
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2009-06-30 23:19:40 +0200
commit3d9af4e9cbb76221766eb3a7f859b60b4c09679a (patch)
treee909641df54cffa67a2abc79835ebab0d0a4c9be /src/gui/npcdialog.cpp
parent61e3f1110adafa7a5aacc8db745fab7e25e9e695 (diff)
downloadmana-3d9af4e9cbb76221766eb3a7f859b60b4c09679a.tar.gz
mana-3d9af4e9cbb76221766eb3a7f859b60b4c09679a.tar.bz2
mana-3d9af4e9cbb76221766eb3a7f859b60b4c09679a.tar.xz
mana-3d9af4e9cbb76221766eb3a7f859b60b4c09679a.zip
Fixed compiler warning about unsigned/signed integer comparision
Diffstat (limited to 'src/gui/npcdialog.cpp')
-rw-r--r--src/gui/npcdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/npcdialog.cpp b/src/gui/npcdialog.cpp
index a61df69f..afcc150d 100644
--- a/src/gui/npcdialog.cpp
+++ b/src/gui/npcdialog.cpp
@@ -172,7 +172,7 @@ void NpcDialog::action(const gcn::ActionEvent &event)
int choice = 0;
int selectedIndex = mItemList->getSelected();
- if (selectedIndex >= mItems.size())
+ if (selectedIndex >= (int) mItems.size())
{
return;
}