summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Stinson <stinson@lindenlab.com>2012-04-17 17:14:37 -0700
committerTodd Stinson <stinson@lindenlab.com>2012-04-17 17:14:37 -0700
commit4be3ec7234c82f1e2b33d3eb30d5b6cc1eb890ba (patch)
tree2809a49e06451d97439b4e9388710220d428ea4c
parent8c5819bdde26ad748060be53a2b6fefe809ad18b (diff)
BUILDFIX: Attempting to correct a linux build problem.
-rw-r--r--indra/newview/llhudnametag.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llhudnametag.cpp b/indra/newview/llhudnametag.cpp
index 26c3ee8c7a..423a6f8c07 100644
--- a/indra/newview/llhudnametag.cpp
+++ b/indra/newview/llhudnametag.cpp
@@ -321,7 +321,7 @@ void LLHUDNameTag::renderText(BOOL for_select)
LLGLDepthTest gls_depth(GL_TRUE, GL_FALSE);
LLRect screen_rect;
- screen_rect.setCenterAndSize(0, -mHeight / 2 + mOffsetY, mWidth, mHeight);
+ screen_rect.setCenterAndSize(0, static_cast<S32>(lltrunc(-mHeight / 2 + mOffsetY)), static_cast<S32>(lltrunc(mWidth)), static_cast<S32>(lltrunc(mHeight)));
imagep->draw3D(render_position, x_pixel_vec, y_pixel_vec, screen_rect, bg_color);
if (mLabelSegments.size())
{