summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Reddy <lynx@lindenlab.com>2009-07-15 18:10:00 +0000
committerMartin Reddy <lynx@lindenlab.com>2009-07-15 18:10:00 +0000
commit5354caa13626ef4d5efa67c27c91265892ffd996 (patch)
tree4bfef341e172c67fcaf63fd6a1d28fe0f35085cb
parent28c9537398434a75a0a46c401754b1048b4d91e1 (diff)
Fixed compile warnings in llmath/llrect.h. This header is now included in a unit test
in indra/test where warnings are treated as errors.
-rw-r--r--indra/llmath/llrect.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/llmath/llrect.h b/indra/llmath/llrect.h
index 16bfdde658..894f0a7ed0 100644
--- a/indra/llmath/llrect.h
+++ b/indra/llmath/llrect.h
@@ -71,10 +71,10 @@ public:
void setValue(const LLSD& sd)
{
- mLeft = sd[0].asInteger();
- mTop = sd[1].asInteger();
- mRight = sd[2].asInteger();
- mBottom = sd[3].asInteger();
+ mLeft = (Type)sd[0].asInteger();
+ mTop = (Type)sd[1].asInteger();
+ mRight = (Type)sd[2].asInteger();
+ mBottom = (Type)sd[3].asInteger();
}
LLSD getValue() const