summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-01-15 15:02:11 -0800
committerTofu Linden <tofu.linden@lindenlab.com>2010-01-15 15:02:11 -0800
commit1c08238c4f6d3992ce9177ace6fc0fc3e4fe87ab (patch)
tree4b369ba57c62e85d831e30eb0390aff5021585d3 /indra
parent80bd4fed475113d932a9f8883b39fed69436a7f1 (diff)
fix casting error in gooey merge.
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llviewerparcelmgr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llviewerparcelmgr.cpp b/indra/newview/llviewerparcelmgr.cpp
index 95d9dd5f6d..10a95443f1 100644
--- a/indra/newview/llviewerparcelmgr.cpp
+++ b/indra/newview/llviewerparcelmgr.cpp
@@ -1331,8 +1331,8 @@ void LLViewerParcelMgr::setHoverParcel(const LLVector3d& pos)
// only request parcel info if position has changed outside of the
// last parcel grid step
- U32 west_parcel_step = floor ( pos.mdV[VX] / PARCEL_GRID_STEP_METERS );
- U32 south_parcel_step = floor ( pos.mdV[VY] / PARCEL_GRID_STEP_METERS );
+ U32 west_parcel_step = (U32) floor( pos.mdV[VX] / PARCEL_GRID_STEP_METERS );
+ U32 south_parcel_step = (U32) floor( pos.mdV[VY] / PARCEL_GRID_STEP_METERS );
if ((west_parcel_step == last_west) && (south_parcel_step == last_south))
{