summaryrefslogtreecommitdiff
path: root/src/gui/chat.cpp
diff options
context:
space:
mode:
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++;