diff --git a/indra/newview/bugsplatattributes.cpp b/indra/newview/bugsplatattributes.cpp index 0bdf739e67..1852f9de3f 100644 --- a/indra/newview/bugsplatattributes.cpp +++ b/indra/newview/bugsplatattributes.cpp @@ -69,7 +69,7 @@ bool BugSplatAttributes::writeToFile(const std::string& file_path) // Write to a temporary file first std::string tmp_file = file_path + ".tmp"; { - llofstream ofs(tmp_file, std::ios::out | std::ios::trunc); + llofstream ofs(tmp_file.c_str(), std::ios::out | std::ios::trunc); if (!ofs.good()) { return false;