зеркало из https://github.com/mozilla/pjs.git
change static_cast to NSCAP_STATIC_CAST
This commit is contained in:
Родитель
e387fa8727
Коммит
d1bffaab39
|
@ -815,8 +815,8 @@ nsHTTPChannel::Authenticate(const char *iChallenge, nsIChannel **oChannel)
|
|||
// change this later to include other kinds of authentication. TODO
|
||||
if (NS_FAILED(rv = nsBasicAuth::Authenticate(
|
||||
mURI,
|
||||
static_cast<const char*>(iChallenge),
|
||||
static_cast<const char*>(newUserPass),
|
||||
NSCAP_STATIC_CAST(const char*, iChallenge),
|
||||
NSCAP_STATIC_CAST(const char*, newUserPass),
|
||||
getter_Copies(authString))))
|
||||
return rv; // Failed to construct an authentication string.
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче