OSDN Git Service

* attribs.c (decl_attributes): Fix signed/unsigned warning.
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 10 Mar 2002 20:54:15 +0000 (20:54 +0000)
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 10 Mar 2002 20:54:15 +0000 (20:54 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50543 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/attribs.c

index 62d7a91..bafb1ac 100644 (file)
@@ -1,3 +1,7 @@
+2002-03-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * attribs.c (decl_attributes): Fix signed/unsigned warning.
+
 2002-03-10  Hans-Peter Nilsson  <hp@bitrange.com>
 
        * config/mmix/mmix.c: Improve comments.
index c1536f6..74f6b05 100644 (file)
@@ -283,7 +283,7 @@ decl_attributes (node, attributes, flags)
       tree *anode = node;
       const struct attribute_spec *spec = NULL;
       bool no_add_attrs = 0;
-      int i;
+      size_t i;
 
       for (i = 0; i < ARRAY_SIZE (attribute_tables); i++)
        {