aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-history.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-11-11 22:19:17 +0800
committerChristian Persch <chpe@src.gnome.org>2004-11-11 22:19:17 +0800
commit52f4197e335956ab886506abf7df246c13ef9fd6 (patch)
tree4128e1636666e9a82f52de380b1ee0ab3e5184bb /embed/ephy-history.c
parent3307a35bc76131d03e392f4e87a9baddc3b3c883 (diff)
downloadgsoc2013-epiphany-52f4197e335956ab886506abf7df246c13ef9fd6.tar.gz
gsoc2013-epiphany-52f4197e335956ab886506abf7df246c13ef9fd6.tar.zst
gsoc2013-epiphany-52f4197e335956ab886506abf7df246c13ef9fd6.zip
Fix signed/unsigned int confusion when iterating over a GPtrArray.
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.
Diffstat (limited to 'embed/ephy-history.c')
-rw-r--r--embed/ephy-history.c2
1 files changed, 1 insertions, 1 deletions
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;