summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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++;