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:
vidur
1998-07-02 17:46:15 +00:00
parent d4c96a9d4a
commit 95e4fbc39d

View File

@@ -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();