was using private |#defines| (in spite of the warning) from "nsCOMPtr.h" that happened to go away with this checkin. Should have been using |NS_STATIC_CAST| from "nscore.h". r={danm, hyatt}

This commit is contained in:
scc%netscape.com 1999-11-08 11:43:09 +00:00
Родитель 60ce1bccdc
Коммит 61336fa215
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -976,8 +976,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,
NSCAP_STATIC_CAST(const char*, iChallenge),
NSCAP_STATIC_CAST(const char*, newUserPass),
NS_STATIC_CAST(const char*, iChallenge),
NS_STATIC_CAST(const char*, newUserPass),
getter_Copies(authString))))
return rv; // Failed to construct an authentication string.