Add cast to unsigned int
* coffcode.h (coff_slurp_line_table): Add cast to unsigned int.
This commit is contained in:
parent
f8521a0358
commit
57494d81b6
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2014-11-13 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* coffcode.h (coff_slurp_line_table): Add cast to unsigned int.
|
||||
|
||||
2014-11-13 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* coffcode.h (coff_pointerize_aux_hook): Fix a typo.
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue