Skip to content
Snippets Groups Projects
Commit 24be0ba8 authored by James Cook's avatar James Cook
Browse files

Fix Linux build error due to F32/S32 conversion warning. Not reviewed.

parent 91f98351
No related branches found
No related tags found
No related merge requests found
......@@ -47,8 +47,10 @@ void addLocationHistory()
{
LLVector3 position = gAgent.getPositionAgent();
std::string region_name = gAgent.getRegion()->getName();
std::string location = LLSLURL::buildSLURL(region_name, position.mV[VX],
position.mV[VY], position.mV[VZ]);
std::string location = LLSLURL::buildSLURL(region_name,
(S32)(position.mV[VX]),
(S32)(position.mV[VY]),
(S32)(position.mV[VZ]) );
LLLocationHistory* lh = LLLocationHistory::getInstance();
lh->addItem(location);
lh->save();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment