summaryrefslogtreecommitdiff
path: root/indra/llui/lllineeditor.cpp
diff options
context:
space:
mode:
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;
}
}