From a4dc1b83d8760f80e5cdcfded5473ec7c2c76d6d Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Fri, 8 Jan 2010 05:13:35 +0000 Subject: Fix a signed/unsigned comparison in chat autocomplete --- src/gui/chat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++; -- cgit v1.2.3-70-g09d2