aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks/ephy-bookmarks.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-07-31 19:58:56 +0800
committerChristian Persch <chpe@src.gnome.org>2004-07-31 19:58:56 +0800
commita1708ca0d9f45fd662e13012d8265c9f15413f3d (patch)
tree4a85a43f2ee1525e759042e731ab5dd4bb24fcbf /src/bookmarks/ephy-bookmarks.c
parent0b3f4745f07cf3206ee2060e37062f5b281c6d0e (diff)
downloadgsoc2013-epiphany-a1708ca0d9f45fd662e13012d8265c9f15413f3d.tar
gsoc2013-epiphany-a1708ca0d9f45fd662e13012d8265c9f15413f3d.tar.gz
gsoc2013-epiphany-a1708ca0d9f45fd662e13012d8265c9f15413f3d.tar.bz2
gsoc2013-epiphany-a1708ca0d9f45fd662e13012d8265c9f15413f3d.tar.lz
gsoc2013-epiphany-a1708ca0d9f45fd662e13012d8265c9f15413f3d.tar.xz
gsoc2013-epiphany-a1708ca0d9f45fd662e13012d8265c9f15413f3d.tar.zst
gsoc2013-epiphany-a1708ca0d9f45fd662e13012d8265c9f15413f3d.zip
Fix signedness difference warnings with gcc 3.5. Patch by Jon Oberheide.
2004-07-31 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmark-action.c: (drag_data_get_cb): * src/bookmarks/ephy-bookmarks-export.c: (write_topics_list), (ephy_bookmarks_export_rdf): * src/bookmarks/ephy-bookmarks-import.c: (xbel_parse_bookmark), (xbel_parse_folder), (xbel_parse_xbel), (parse_rdf_subjects), (parse_rdf_item), (ephy_bookmarks_import_rdf): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_save), (ephy_bookmarks_init): * src/bookmarks/ephy-bookmarksbar-model.c: (ephy_bookmarksbar_model_get_node): * src/bookmarks/ephy-topic-action.c: (drag_data_get_cb): * src/ephy-session.c: (write_tab), (write_window_geometry), (write_tool_window), (write_ephy_window), (ephy_session_save), (parse_embed), (ephy_session_load): Fix signedness difference warnings with gcc 3.5. Patch by Jon Oberheide.
Diffstat (limited to 'src/bookmarks/ephy-bookmarks.c')
-rw-r--r--src/bookmarks/ephy-bookmarks.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/bookmarks/ephy-bookmarks.c b/src/bookmarks/ephy-bookmarks.c
index 84c84f92c..cdad943a9 100644
--- a/src/bookmarks/ephy-bookmarks.c
+++ b/src/bookmarks/ephy-bookmarks.c
@@ -307,10 +307,11 @@ ephy_bookmarks_save (EphyBookmarks *eb)
LOG ("Saving bookmarks")
ephy_node_db_write_to_xml_safe
- (eb->priv->db, eb->priv->xml_file,
- EPHY_BOOKMARKS_XML_ROOT,
- EPHY_BOOKMARKS_XML_VERSION,
- "Do not rely on this file, it's only for internal use. Use bookmarks.rdf instead.",
+ (eb->priv->db,
+ (xmlChar *) eb->priv->xml_file,
+ (xmlChar *) EPHY_BOOKMARKS_XML_ROOT,
+ (xmlChar *) EPHY_BOOKMARKS_XML_VERSION,
+ (xmlChar *) "Do not rely on this file, it's only for internal use. Use bookmarks.rdf instead.",
eb->priv->keywords,
3, eb->priv->bookmarks, eb->priv->favorites, eb->priv->notcategorized,
eb->priv->bookmarks,
@@ -765,8 +766,8 @@ ephy_bookmarks_init (EphyBookmarks *eb)
eb->priv->init_defaults = TRUE;
}
else if (ephy_node_db_load_from_file (eb->priv->db, eb->priv->xml_file,
- EPHY_BOOKMARKS_XML_ROOT,
- EPHY_BOOKMARKS_XML_VERSION) == FALSE)
+ (xmlChar *) EPHY_BOOKMARKS_XML_ROOT,
+ (xmlChar *) EPHY_BOOKMARKS_XML_VERSION) == FALSE)
{
/* save the corrupted files so the user can late try to
* manually recover them. See bug #128308.