summaryrefslogtreecommitdiff
path: root/indra/llui/lllineeditor.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2012-03-30 13:31:26 -0400
committerOz Linden <oz@lindenlab.com>2012-03-30 13:31:26 -0400
commite56ea836383bd357809f86e2ffebafee8f481222 (patch)
tree8b5dd20b28261fba8b33953ef0f522914b2252c0 /indra/llui/lllineeditor.cpp
parent6f71df192720ec3f16e7e7102ad21f4d140b8e07 (diff)
parente60dac5ce486f55fe69949a6a3a2949d4f868193 (diff)
merge changes for latest core and updates from Kitty
Diffstat (limited to 'indra/llui/lllineeditor.cpp')
-rw-r--r--indra/llui/lllineeditor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llui/lllineeditor.cpp b/indra/llui/lllineeditor.cpp
index 42cfc4cae9..0dc381231d 100644
--- a/indra/llui/lllineeditor.cpp
+++ b/indra/llui/lllineeditor.cpp
@@ -1948,8 +1948,8 @@ void LLLineEditor::draw()
gGL.color4ub(255, 0, 0, 200);
while (pxStart < pxEnd)
{
- gl_line_2d(pxStart, text_bottom - 2, pxStart + 3, text_bottom + 1);
- gl_line_2d(pxStart + 3, text_bottom + 1, pxStart + 6, text_bottom - 2);
+ gl_line_2d(pxStart, (S32)text_bottom - 2, pxStart + 3, (S32)text_bottom + 1);
+ gl_line_2d(pxStart + 3, (S32)text_bottom + 1, pxStart + 6, (S32)text_bottom - 2);
pxStart += 6;
}
}