diff --git a/uriloader/exthandler/nsExternalHelperAppService.cpp b/uriloader/exthandler/nsExternalHelperAppService.cpp index ca483475b136..c5465d74c687 100644 --- a/uriloader/exthandler/nsExternalHelperAppService.cpp +++ b/uriloader/exthandler/nsExternalHelperAppService.cpp @@ -410,7 +410,7 @@ static nsresult GetDownloadDirectory(nsIFile **_directory) case NS_FOLDER_VALUE_CUSTOM: { (void) prefs->GetComplexValue(NS_PREF_DOWNLOAD_DIR, - NS_GET_IID(nsIFile), + NS_GET_IID(nsILocalFile), getter_AddRefs(dir)); if (!dir) break;