aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2002-03-10 20:54:15 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2002-03-10 20:54:15 +0000
commit2b03d2017cf0b49082e6424455c0221448d06fa6 (patch)
tree2948affac57cdef7f2f59fadc2866a292ed31628
parent644d28d40e1960d35d9c455d202e04c029c3c13a (diff)
downloadgcc-2b03d2017cf0b49082e6424455c0221448d06fa6.zip
gcc-2b03d2017cf0b49082e6424455c0221448d06fa6.tar.gz
gcc-2b03d2017cf0b49082e6424455c0221448d06fa6.tar.bz2
* attribs.c (decl_attributes): Fix signed/unsigned warning.
From-SVN: r50543
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/attribs.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 62d7a91..bafb1ac 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/attribs.c b/gcc/attribs.c
index c1536f6..74f6b05 100644
--- a/gcc/attribs.c
+++ b/gcc/attribs.c
@@ -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++)
{