diff options
author | Martin Reddy <lynx@lindenlab.com> | 2009-07-15 18:10:00 +0000 |
---|---|---|
committer | Martin Reddy <lynx@lindenlab.com> | 2009-07-15 18:10:00 +0000 |
commit | 5354caa13626ef4d5efa67c27c91265892ffd996 (patch) | |
tree | 4bfef341e172c67fcaf63fd6a1d28fe0f35085cb /indra/llmath | |
parent | 28c9537398434a75a0a46c401754b1048b4d91e1 (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.
Diffstat (limited to 'indra/llmath')
-rw-r--r-- | indra/llmath/llrect.h | 8 |
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 |