aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/mozilla-embed-persist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'embed/mozilla/mozilla-embed-persist.cpp')
-rw-r--r--embed/mozilla/mozilla-embed-persist.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/embed/mozilla/mozilla-embed-persist.cpp b/embed/mozilla/mozilla-embed-persist.cpp
index 63ded311c..22c6b9f9d 100644
--- a/embed/mozilla/mozilla-embed-persist.cpp
+++ b/embed/mozilla/mozilla-embed-persist.cpp
@@ -168,7 +168,7 @@ impl_save (EphyEmbedPersist *persist)
"flags", &flags,
"embed", &embed,
"max_size", &max_size,
- NULL);
+ (char *) NULL);
g_return_val_if_fail (!(flags & EPHY_EMBED_PERSIST_COPY_PAGE)
|| embed != NULL, FALSE);
@@ -291,7 +291,7 @@ impl_save (EphyEmbedPersist *persist)
{
/* Get a temp filename to save to */
char *tmp_filename, *base;
- base = g_build_filename (g_get_tmp_dir (), "sav-XXXXXX", NULL);
+ base = g_build_filename (g_get_tmp_dir (), "sav-XXXXXX", (char *) NULL);
tmp_filename = ephy_file_tmp_filename (base, "html");
g_free (base);
if (tmp_filename == NULL) return FALSE;
@@ -350,7 +350,7 @@ impl_to_string (EphyEmbedPersist *persist)
g_object_get (persist,
"flags", &flags,
"embed", &embed,
- NULL);
+ (char *) NULL);
g_object_unref (persist);
g_return_val_if_fail (embed != NULL, NULL);