From 60e2eca42bce234bd0cf43c188a1fa235ac28ace Mon Sep 17 00:00:00 2001 From: "sspitzer%netscape.com" Date: Tue, 25 Jan 2000 05:51:41 +0000 Subject: [PATCH] the real fix. I need to cast to (const char *) for certain platforms. --- mailnews/news/src/nsNNTPProtocol.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mailnews/news/src/nsNNTPProtocol.cpp b/mailnews/news/src/nsNNTPProtocol.cpp index ac769d574473..98f9cc2895fa 100644 --- a/mailnews/news/src/nsNNTPProtocol.cpp +++ b/mailnews/news/src/nsNNTPProtocol.cpp @@ -2411,7 +2411,7 @@ PRInt32 nsNNTPProtocol::BeginAuthorization() } #endif /* 0 */ - if (newsgroupURI) { + if ((const char *)newsgroupURI) { nsCOMPtr resource; rv = rdf->GetResource((const char *)newsgroupURI, getter_AddRefs(resource)); if (NS_FAILED(rv)) return(MK_NNTP_AUTH_FAILED); @@ -2524,7 +2524,7 @@ PRInt32 nsNNTPProtocol::AuthorizationResponse() } } - if (newsgroupURI) { + if ((const char *)newsgroupURI) { nsCOMPtr resource; rv = rdf->GetResource((const char *)newsgroupURI, getter_AddRefs(resource)); if (NS_FAILED(rv)) return(MK_NNTP_AUTH_FAILED);