diff --git a/indra/llmath/llcoord.h b/indra/llmath/llcoord.h
index 1f617e649e96e693850193f8ed1c4a688aa6814d..533aa2978b40ecba80edc707bfe1a7fd4bed166c 100644
--- a/indra/llmath/llcoord.h
+++ b/indra/llmath/llcoord.h
@@ -45,7 +45,7 @@ class LLCoord : protected COORD_FRAME
 
 	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)