summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-07-27 10:51:35 +0100
committerTofu Linden <tofu.linden@lindenlab.com>2010-07-27 10:51:35 +0100
commitd55264bf13520fc7adab347565ee13cc30fc8656 (patch)
tree665c0179ef6e06d687338206df8b9646d3542c73 /indra/newview
parente1effcb285c8072601e5148101293e6702128fdd (diff)
Fix implicit downcast in world map change.
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llfloaterworldmap.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llfloaterworldmap.cpp b/indra/newview/llfloaterworldmap.cpp
index 031294ad56..88f8545877 100644
--- a/indra/newview/llfloaterworldmap.cpp
+++ b/indra/newview/llfloaterworldmap.cpp
@@ -1191,9 +1191,9 @@ void LLFloaterWorldMap::onCoordinatesCommit()
return;
}
- F32 x_coord = (F32)childGetValue("teleport_coordinate_x").asReal();
- F32 y_coord = (F32)childGetValue("teleport_coordinate_y").asReal();
- F32 z_coord = (F32)childGetValue("teleport_coordinate_z").asReal();
+ S32 x_coord = (S32)childGetValue("teleport_coordinate_x").asReal();
+ S32 y_coord = (S32)childGetValue("teleport_coordinate_y").asReal();
+ S32 z_coord = (S32)childGetValue("teleport_coordinate_z").asReal();
const std::string region_name = childGetValue("location").asString();