tmpdir += (const PRUnichar*) lc_name;
tmpdir += nsAutoString(NS_STATIC_CAST(const PRUnichar*, lc_name));
static void GetProfileDefaultsFolder(nsFileSpec& outSpec)//----------------------------------------------------------------------------------------{    nsFileSpec cwd;    GetDefaultsFolder(cwd);#if defined(XP_MAC)    cwd += "Profile";#else    cwd += "profile";#endif    nsXPIDLString lc_name;    nsresult rv = GetChromeLocale(getter_Copies(lc_name));    if (NS_SUCCEEDED(rv)) {        nsFileSpec tmpdir;         tmpdir = cwd;        tmpdir += (const PRUnichar*) lc_name;        if (tmpdir.Exists())            cwd = tmpdir;    }    outSpec = cwd;    } // GetProfileDefaultsFolder