mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-03 12:35:58 +00:00
Might as well get rid of the warnings.
This commit is contained in:
parent
de30c502da
commit
93e93eb549
@ -89,7 +89,7 @@ nsCookieHTTPNotify::ModifyRequest(nsISupports *aContext) {
|
||||
NS_RELEASE(pHTTPConnection);
|
||||
return rv;
|
||||
}
|
||||
const char* cookie = ::COOKIE_GetCookie((char*)url);
|
||||
const char* cookie = ::COOKIE_GetCookie((char*)(const char*)url);
|
||||
if (cookie == nsnull) {
|
||||
NS_RELEASE(pURL);
|
||||
NS_RELEASE(pHTTPConnection);
|
||||
@ -178,7 +178,7 @@ nsCookieHTTPNotify::AsyncExamineResponse(nsISupports *aContext) {
|
||||
}
|
||||
if (NS_SUCCEEDED(rv)) {
|
||||
if(pDate) {
|
||||
COOKIE_SetCookieStringFromHttp((char*)url, cookie, pDate);
|
||||
COOKIE_SetCookieStringFromHttp((char*)(const char*)url, cookie, pDate);
|
||||
nsCRT::free(pDate);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user