Bug 1198450 - GCC (mingw) fixup.

This commit is contained in:
Jacek Caban 2015-12-01 14:20:41 +01:00
parent 4a550eed1e
commit 412ca1e05e

View File

@ -545,7 +545,7 @@ AddAppDirToCommandLine(std::vector<std::string>& aCmdLine)
nsString path;
MOZ_ALWAYS_TRUE(NS_SUCCEEDED(appDir->GetPath(path)));
aCmdLine.AppendLooseValue(UTF8ToWide("-appdir"));
std::wstring wpath = path.get();
std::wstring wpath(path.get());
aCmdLine.AppendLooseValue(wpath);
#else
nsAutoCString path;