diff options
Diffstat (limited to 'embed/mozilla/MozDownload.cpp')
-rw-r--r-- | embed/mozilla/MozDownload.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/embed/mozilla/MozDownload.cpp b/embed/mozilla/MozDownload.cpp index 7a7b115a8..39fd8ee22 100644 --- a/embed/mozilla/MozDownload.cpp +++ b/embed/mozilla/MozDownload.cpp @@ -451,7 +451,7 @@ MozDownload::GetInterface(const nsIID & uuid, void * *result) { EphyEmbedPersistFlags flags; - g_object_get (mEmbedPersist, "flags", &flags, NULL); + g_object_get (mEmbedPersist, "flags", &flags, (char *) NULL); if (flags & EPHY_EMBED_PERSIST_NO_CERTDIALOGS) { @@ -607,12 +607,12 @@ GetFilePath (const char *filename) if (ephy_ensure_dir_exists (download_dir, NULL)) { - path = g_build_filename (download_dir, filename, NULL); + path = g_build_filename (download_dir, filename, (char *) NULL); } else { home_dir = g_get_home_dir (); - path = g_build_filename (home_dir ? home_dir : "/", filename, NULL); + path = g_build_filename (home_dir ? home_dir : "/", filename, (char *) NULL); } g_free (download_dir); |