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"