diff --git a/indra/newview/llavataractions.cpp b/indra/newview/llavataractions.cpp index ecf14398e..0a6b4db21 100644 --- a/indra/newview/llavataractions.cpp +++ b/indra/newview/llavataractions.cpp @@ -1270,5 +1270,5 @@ void LLAvatarActions::copyUUIDs(const uuid_vec_t& ids) std::string LLAvatarActions::getSLURL(const LLUUID& id) { - return llformat("secondlife:///app/agent/%s/about", id.asString()); + return llformat("secondlife:///app/agent/%s/about", id.asString().c_str()); } diff --git a/indra/newview/llgroupactions.cpp b/indra/newview/llgroupactions.cpp index b8763f00b..317998558 100644 --- a/indra/newview/llgroupactions.cpp +++ b/indra/newview/llgroupactions.cpp @@ -603,6 +603,6 @@ LLFloaterGroupInfo* LLGroupActions::openGroupProfile(const LLUUID& group_id) std::string LLGroupActions::getSLURL(const LLUUID& id) { - return llformat("secondlife:///app/group/%s/about", id.asString()); + return llformat("secondlife:///app/group/%s/about", id.asString().c_str()); }