summaryrefslogtreecommitdiff
path: root/src/gui/chat.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-01-08 05:13:35 +0000
committerJared Adams <jaxad0127@gmail.com>2010-01-08 05:13:35 +0000
commita4dc1b83d8760f80e5cdcfded5473ec7c2c76d6d (patch)
treeccb0a600f44ea8db7147bb95b7293d1269372ce3 /src/gui/chat.cpp
parentbe5460f2a294bb8e50b40f498f29a556b31bedd7 (diff)
downloadmana-a4dc1b83d8760f80e5cdcfded5473ec7c2c76d6d.tar.gz
mana-a4dc1b83d8760f80e5cdcfded5473ec7c2c76d6d.tar.bz2
mana-a4dc1b83d8760f80e5cdcfded5473ec7c2c76d6d.tar.xz
mana-a4dc1b83d8760f80e5cdcfded5473ec7c2c76d6d.zip
Fix a signed/unsigned comparison in chat autocomplete
Diffstat (limited to 'src/gui/chat.cpp')
-rw-r--r--src/gui/chat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp
index 3c4961cf..af0c3808 100644
--- a/src/gui/chat.cpp
+++ b/src/gui/chat.cpp
@@ -564,7 +564,7 @@ std::string ChatWindow::autoCompleteHistory(std::string partName)
while (i != mHistory.end())
{
std::string line = *i;
- int f = 0;
+ unsigned int f = 0;
while (f < line.length() && !isWordSeparator(line.at(f)))
{
f++;