From 5354caa13626ef4d5efa67c27c91265892ffd996 Mon Sep 17 00:00:00 2001 From: Martin Reddy Date: Wed, 15 Jul 2009 18:10:00 +0000 Subject: 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. --- indra/llmath/llrect.h | 8 ++++---- 1 file 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 -- cgit v1.2.3