aboutsummaryrefslogtreecommitdiff
path: root/binutils/coffgrok.c
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/coffgrok.c')
-rw-r--r--binutils/coffgrok.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/binutils/coffgrok.c b/binutils/coffgrok.c
index 2094677..88a6572 100644
--- a/binutils/coffgrok.c
+++ b/binutils/coffgrok.c
@@ -166,7 +166,8 @@ do_sections_p2 (head)
asection *section;
for (section = abfd->sections; section; section = section->next)
{
- int j;
+ unsigned int j;
+
for (j = 0; j < section->reloc_count; j++)
{
int idx;
@@ -248,7 +249,8 @@ do_lines (i, name)
{
struct coff_line *res = (struct coff_line *) xcalloc (sizeof (struct coff_line), 1);
asection *s;
- int l;
+ unsigned int l;
+
/* Find out if this function has any line numbers in the table */
for (s = abfd->sections; s; s = s->next)
{