diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-11-11 22:19:17 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-11-11 22:19:17 +0800 |
commit | 52f4197e335956ab886506abf7df246c13ef9fd6 (patch) | |
tree | 4128e1636666e9a82f52de380b1ee0ab3e5184bb /src/bookmarks | |
parent | 3307a35bc76131d03e392f4e87a9baddc3b3c883 (diff) | |
download | gsoc2013-epiphany-52f4197e335956ab886506abf7df246c13ef9fd6.tar gsoc2013-epiphany-52f4197e335956ab886506abf7df246c13ef9fd6.tar.gz gsoc2013-epiphany-52f4197e335956ab886506abf7df246c13ef9fd6.tar.bz2 gsoc2013-epiphany-52f4197e335956ab886506abf7df246c13ef9fd6.tar.lz gsoc2013-epiphany-52f4197e335956ab886506abf7df246c13ef9fd6.tar.xz 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 'src/bookmarks')
-rw-r--r-- | src/bookmarks/ephy-bookmarks.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |