aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-history.c
diff options
context:
space:
mode:
authorJean-François Rameau <jframeau@cvs.gnome.org>2005-08-01 04:35:26 +0800
committerJean-François Rameau <jframeau@src.gnome.org>2005-08-01 04:35:26 +0800
commit320433a4a3b9c3abc62d2be1ca5e4157da209875 (patch)
tree4ff37026bf8ccfaf22770107c62a6d6ffe977c39 /embed/ephy-history.c
parent05f2e7c42a70cb0bcc1041eeeca0674bb966082d (diff)
downloadgsoc2013-epiphany-320433a4a3b9c3abc62d2be1ca5e4157da209875.tar
gsoc2013-epiphany-320433a4a3b9c3abc62d2be1ca5e4157da209875.tar.gz
gsoc2013-epiphany-320433a4a3b9c3abc62d2be1ca5e4157da209875.tar.bz2
gsoc2013-epiphany-320433a4a3b9c3abc62d2be1ca5e4157da209875.tar.lz
gsoc2013-epiphany-320433a4a3b9c3abc62d2be1ca5e4157da209875.tar.xz
gsoc2013-epiphany-320433a4a3b9c3abc62d2be1ca5e4157da209875.tar.zst
gsoc2013-epiphany-320433a4a3b9c3abc62d2be1ca5e4157da209875.zip
Fix gcc 4.0 warnings.
2005-07-31 Jean-François Rameau <jframeau@cvs.gnome.org> * src/epiphany.override: (_wrap_ephy_embed_event_get_coords): * embed/ephy-history.c: Fix gcc 4.0 warnings.
Diffstat (limited to 'embed/ephy-history.c')
-rw-r--r--embed/ephy-history.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/embed/ephy-history.c b/embed/ephy-history.c
index f35b0f87a..d3c64d286 100644
--- a/embed/ephy-history.c
+++ b/embed/ephy-history.c
@@ -34,8 +34,8 @@
#include <glib/gi18n.h>
#include <libgnomevfs/gnome-vfs-uri.h>
-#define EPHY_HISTORY_XML_ROOT "ephy_history"
-#define EPHY_HISTORY_XML_VERSION "1.0"
+#define EPHY_HISTORY_XML_ROOT (const xmlChar *)"ephy_history"
+#define EPHY_HISTORY_XML_VERSION (const xmlChar *)"1.0"
/* how often to save the history, in milliseconds */
#define HISTORY_SAVE_INTERVAL (5 * 60 * 1000)
@@ -277,7 +277,7 @@ ephy_history_save (EphyHistory *eb)
LOG ("Saving history db");
ret = ephy_node_db_write_to_xml_safe
- (eb->priv->db, eb->priv->xml_file,
+ (eb->priv->db, (const xmlChar *)eb->priv->xml_file,
EPHY_HISTORY_XML_ROOT,
EPHY_HISTORY_XML_VERSION,
NULL, /* comment */