diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2014-11-13 12:56:18 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2014-11-13 12:56:18 -0800 |
commit | 57494d81b631343380888b8a6ca55bf8a6110436 (patch) | |
tree | 2f9d61c8f60ad40c4dc235d4eaaa7baa6ca45617 /bfd/coffcode.h | |
parent | f8521a03584f2451e52cbc90bff5c1050a588c0f (diff) | |
download | gdb-57494d81b631343380888b8a6ca55bf8a6110436.zip gdb-57494d81b631343380888b8a6ca55bf8a6110436.tar.gz gdb-57494d81b631343380888b8a6ca55bf8a6110436.tar.bz2 |
Add cast to unsigned int
* coffcode.h (coff_slurp_line_table): Add cast to unsigned int.
Diffstat (limited to 'bfd/coffcode.h')
-rw-r--r-- | bfd/coffcode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/coffcode.h b/bfd/coffcode.h index 69992db..9990b16 100644 --- a/bfd/coffcode.h +++ b/bfd/coffcode.h @@ -4647,7 +4647,7 @@ coff_slurp_line_table (bfd *abfd, asection *asect) if (lineno_cache[i].line_number == 0) *p++ = &lineno_cache[i]; - BFD_ASSERT ((p - func_table) == nbr_func); + BFD_ASSERT ((unsigned int) (p - func_table) == nbr_func); /* Sort by functions. */ qsort (func_table, nbr_func, sizeof (alent *), coff_sort_func_alent); |