aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--embed/ephy-history.c2
-rw-r--r--src/bookmarks/ephy-bookmarks.c2
3 files changed, 10 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 3c628e966..7c851cdd1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2004-11-11 Christian Persch <chpe@cvs.gnome.org>
+ * embed/ephy-history.c: (remove_obsolete_pages):
+ * src/bookmarks/ephy-bookmarks.c: (clear_favorites):
+
+ Fix signed/unsigned int confusion when iterating over
+ a GPtrArray.
+
+2004-11-11 Christian Persch <chpe@cvs.gnome.org>
+
* embed/ephy-history.c: (remove_pages_from_host_cb),
(connect_page_removed_from_host), (ephy_history_get_host):
* src/ephy-history-window.c: (cmd_delete),
diff --git a/embed/ephy-history.c b/embed/ephy-history.c
index e8ef6c007..90b0fb6f0 100644
--- a/embed/ephy-history.c
+++ b/embed/ephy-history.c
@@ -229,7 +229,7 @@ remove_obsolete_pages (EphyHistory *eb)
g_date_set_time (&current_date, time (NULL));
children = ephy_node_get_children (eb->priv->pages);
- for (i = children->len -1; i >= 0; i--)
+ for (i = (int) children->len - 1; i >= 0; i--)
{
EphyNode *kid;
diff --git a/src/bookmarks/ephy-bookmarks.c b/src/bookmarks/ephy-bookmarks.c
index 198d29a9b..e12eec366 100644
--- a/src/bookmarks/ephy-bookmarks.c
+++ b/src/bookmarks/ephy-bookmarks.c
@@ -456,7 +456,7 @@ clear_favorites (EphyBookmarks *bookmarks)
node = bookmarks->priv->favorites;
children = ephy_node_get_children (node);
- for (i = children->len - 1; i >= 0; i--)
+ for (i = (int) children->len - 1; i >= 0; i--)
{
EphyNode *kid;