Fixed casting problems on Linux
git-svn-id: svn://10.0.0.236/trunk@4907 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -329,12 +329,12 @@ nsNetlibService::SetContainerApplication(nsINetContainerApplication *aContainer)
|
||||
mContainer->GetAppName(str);
|
||||
XP_AppName = str.ToNewCString();
|
||||
if (XP_AppPlatform) {
|
||||
PR_Free(XP_AppPlatform);
|
||||
PR_Free((void *)XP_AppPlatform);
|
||||
}
|
||||
mContainer->GetPlatform(str);
|
||||
XP_AppPlatform = str.ToNewCString();
|
||||
if (XP_AppLanguage) {
|
||||
PR_Free(XP_AppLanguage);
|
||||
PR_Free((void *)XP_AppLanguage);
|
||||
}
|
||||
mContainer->GetLanguage(str);
|
||||
XP_AppLanguage = str.ToNewCString();
|
||||
|
||||
Reference in New Issue
Block a user