temporary fix to get unix building again... Get rid of the constness before calling PR_Free(...)

git-svn-id: svn://10.0.0.236/trunk@12267 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rpotts%netscape.com
1998-10-08 05:06:30 +00:00
parent fbe88e6504
commit bac0341f1d

View File

@@ -159,7 +159,7 @@ nsNetlibService::nsNetlibService()
XP_AppLanguage,
XP_AppPlatform);
if (XP_AppVersion)
PR_Free(XP_AppVersion);
PR_Free((char *)XP_AppVersion);
XP_AppVersion = PL_strdup(buf);
}
@@ -661,7 +661,7 @@ nsNetlibService::SetCustomUserAgent(nsString aCustom)
newAppVersion.Insert(aCustom, inIdx + 1);
}
PR_Free(XP_AppVersion);
PR_Free((char *)XP_AppVersion);
XP_AppVersion = newAppVersion.ToNewCString();
return NS_OK;