diff options
author | Kitty Barnett <develop@catznip.com> | 2012-03-25 19:50:46 +0200 |
---|---|---|
committer | Kitty Barnett <develop@catznip.com> | 2012-03-25 19:50:46 +0200 |
commit | 59bfc3f608bed806e03898b833a0fda9f95d42b9 (patch) | |
tree | 0c1a34165c6ef3c628fff591cd84d121324343d7 /indra | |
parent | fadd23dca64f460f57814a2fb05d4e246fb2d916 (diff) |
Minor fix for GCC
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llui/lllineeditor.cpp | 4 |
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; } } |