Commits

Baker Linden committed 056b9a3

Added explicit casting for Linux build, hopefully making it work.

Comments (0)

Files changed (1)

indra/newview/llgroupmgr.cpp

 	{
 		// Reset defaults
 		online_status	= "unknown";
-		title			= titles[0];
+		title			= (std::string)titles[0];
 		contribution	= 0;
 		member_powers	= default_powers;
 		is_owner		= false;
 		
 		if(member_info.has("last_login"))
 		{
-			online_status = member_info["last_login"];
+			online_status = (std::string)member_info["last_login"];
 			if(online_status == "Online")
 				online_status = LLTrans::getString("group_member_status_online");
 			else
 		}
 
 		if(member_info.has("title"))
-			title = titles[member_info["title"].asInteger()];
+			title = (std::string)titles[member_info["title"].asInteger()];
 
 		if(member_info.has("powers"))
 			member_powers = llstrtou64(member_info["powers"].asString().c_str(), NULL, 16);