summaryrefslogtreecommitdiff
path: root/indra/llmath
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2012-02-13 15:53:41 -0800
committerMerov Linden <merov@lindenlab.com>2012-02-13 15:53:41 -0800
commite8b8be637bf63f4ff530c2ec6d0abb89da50035f (patch)
tree73ea0ec9df2a238ae7137f6e79449e3595ca8294 /indra/llmath
parent12b4862330adcaca275967d45e97395ef7709c8f (diff)
Fix Linux compile issue : make templated type casting explicit
Diffstat (limited to 'indra/llmath')
-rw-r--r--indra/llmath/llcoord.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llmath/llcoord.h b/indra/llmath/llcoord.h
index 1f617e649e..533aa2978b 100644
--- a/indra/llmath/llcoord.h
+++ b/indra/llmath/llcoord.h
@@ -45,7 +45,7 @@ public:
LLCoord(): mX(0), mY(0)
{}
- LLCoord(S32 x, S32 y): mX(x), mY(y)
+ LLCoord(S32 x, S32 y): mX((typename COORD_FRAME::value_t)(x)), mY((typename COORD_FRAME::value_t)(y))
{}
LLCoord(const LLCoordCommon& other)