diff options
author | Jared Adams <jaxad0127@gmail.com> | 2010-01-08 05:13:35 +0000 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2010-01-08 05:13:35 +0000 |
commit | a4dc1b83d8760f80e5cdcfded5473ec7c2c76d6d (patch) | |
tree | ccb0a600f44ea8db7147bb95b7293d1269372ce3 | |
parent | be5460f2a294bb8e50b40f498f29a556b31bedd7 (diff) | |
download | mana-a4dc1b83d8760f80e5cdcfded5473ec7c2c76d6d.tar.gz mana-a4dc1b83d8760f80e5cdcfded5473ec7c2c76d6d.tar.bz2 mana-a4dc1b83d8760f80e5cdcfded5473ec7c2c76d6d.tar.xz mana-a4dc1b83d8760f80e5cdcfded5473ec7c2c76d6d.zip |
Fix a signed/unsigned comparison in chat autocomplete
-rw-r--r-- | src/gui/chat.cpp | 2 |
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++; |