From af81ab813d9103126e3252600a79d260a1fffc2f Mon Sep 17 00:00:00 2001 From: "valeski%netscape.com" Date: Sat, 13 Nov 1999 03:17:54 +0000 Subject: [PATCH] another shot at vc5 bustage git-svn-id: svn://10.0.0.236/trunk@53400 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/netwerk/protocol/ftp/src/nsFTPChannel.cpp | 2 +- mozilla/netwerk/protocol/ftp/src/nsFtpConnectionThread.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/mozilla/netwerk/protocol/ftp/src/nsFTPChannel.cpp b/mozilla/netwerk/protocol/ftp/src/nsFTPChannel.cpp index b257aa1048c..46077ee015f 100644 --- a/mozilla/netwerk/protocol/ftp/src/nsFTPChannel.cpp +++ b/mozilla/netwerk/protocol/ftp/src/nsFTPChannel.cpp @@ -116,7 +116,7 @@ nsFTPChannel::Init(const char* verb, nsIURI* uri, nsILoadGroup *aGroup, if (mEventSinkGetter) { rv = mEventSinkGetter->GetEventSink(verb, NS_GET_IID(nsIProgressEventSink), - (nsISupports**)(nsIProgressEventSink**)getter_AddRefs(mEventSink)); + getter_AddRefs(mEventSink)); if (NS_FAILED(rv)) { PR_LOG(gFTPLog, PR_LOG_DEBUG, ("nsFTPChannel::Init() (couldn't find event sink)\n")); } diff --git a/mozilla/netwerk/protocol/ftp/src/nsFtpConnectionThread.h b/mozilla/netwerk/protocol/ftp/src/nsFtpConnectionThread.h index b3f4be18fca..83f8efe7a3e 100644 --- a/mozilla/netwerk/protocol/ftp/src/nsFtpConnectionThread.h +++ b/mozilla/netwerk/protocol/ftp/src/nsFtpConnectionThread.h @@ -30,6 +30,7 @@ #include "nsIEventSinkGetter.h" #include "nsIServiceManager.h" #include "nsIStreamListener.h" +#include "nsIInputStream.h" #include "nsIOutputStream.h" #include "nsIURI.h" #include "prtime.h"