]> sjero.net Git - wget/blobdiff - src/html-url.c
Henri's -Wall patch.
[wget] / src / html-url.c
index 8a64d6956a2728c565a49876b9d7efd666ffd044..b5d3ecf0cbeabc486f4aecd59bfa87f6b5d7e760 100644 (file)
@@ -1,6 +1,6 @@
 /* Collect URLs from HTML source.
    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
-   2007 Free Software Foundation, Inc.
+   2007, 2008 Free Software Foundation, Inc.
 
 This file is part of GNU Wget.
 
@@ -185,7 +185,7 @@ init_interesting (void)
      matches the user's preferences as specified through --ignore-tags
      and --follow-tags.  */
 
-  int i;
+  size_t i;
   interesting_tags = make_nocase_string_hash_table (countof (known_tags));
 
   /* First, add all the tags we know hot to handle, mapped to their
@@ -358,7 +358,7 @@ tag_find_urls (int tagid, struct taginfo *tag, struct map_context *ctx)
   int i, attrind;
   int first = -1;
 
-  for (i = 0; i < countof (tag_url_attributes); i++)
+  for (i = 0; i < (int) countof (tag_url_attributes); i++)
     if (tag_url_attributes[i].tagid == tagid)
       {
         /* We've found the index of tag_url_attributes where the