From 3990324e8f8391aee335ad74b33b22e0b1c849af Mon Sep 17 00:00:00 2001
From: "Brad Payne (Vir Linden)" <vir@lindenlab.com>
Date: Wed, 18 May 2011 11:33:28 -0400
Subject: [PATCH] trying to fix mac build complaints

---
 indra/newview/llmeshrepository.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/indra/newview/llmeshrepository.cpp b/indra/newview/llmeshrepository.cpp
index 5305f3dbcad..d9a58d56fe7 100755
--- a/indra/newview/llmeshrepository.cpp
+++ b/indra/newview/llmeshrepository.cpp
@@ -500,7 +500,7 @@ class LLWholeModelFeeResponder: public LLCurl::Responder
 		mThread->mPendingUploads--;
 		dumpLLSDToFile(content,"whole_model_response.xml");
 
-		mThread->mWholeModelUploadURL = content["uploader"]; 
+		mThread->mWholeModelUploadURL = content["uploader"].asString(); 
 	}
 };
 
@@ -1389,7 +1389,7 @@ void LLMeshUploadThread::run()
 #if 1
 void dumpLLSDToFile(const LLSD& content, std::string filename)
 {
-	std::ofstream of(filename);
+	std::ofstream of(filename.c_str());
 	LLSDSerialize::toPrettyXML(content,of);
 }
 #endif
-- 
GitLab