From 52f4197e335956ab886506abf7df246c13ef9fd6 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Thu, 11 Nov 2004 14:19:17 +0000 Subject: Fix signed/unsigned int confusion when iterating over a GPtrArray. 2004-11-11 Christian Persch * embed/ephy-history.c: (remove_obsolete_pages): * src/bookmarks/ephy-bookmarks.c: (clear_favorites): Fix signed/unsigned int confusion when iterating over a GPtrArray. --- src/bookmarks/ephy-bookmarks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bookmarks/ephy-bookmarks.c') 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; -- cgit v1.2.3