aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra')
-rw-r--r--linden/indra/newview/llchatbar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/llchatbar.cpp b/linden/indra/newview/llchatbar.cpp
index 88ef2b5..739c644 100644
--- a/linden/indra/newview/llchatbar.cpp
+++ b/linden/indra/newview/llchatbar.cpp
@@ -223,7 +223,7 @@ BOOL LLChatBar::handleKeyHere( KEY key, MASK mask )
223 std::string right_part = ""; 223 std::string right_part = "";
224 S32 cursorPos = mInputEditor->getCursor(); 224 S32 cursorPos = mInputEditor->getCursor();
225 225
226 if (cursorPos < txt.length()) 226 if (cursorPos < (S32)txt.length())
227 { 227 {
228 right_part = txt.substr(cursorPos); 228 right_part = txt.substr(cursorPos);
229 left_part = txt.substr(0, cursorPos); 229 left_part = txt.substr(0, cursorPos);