Cast size to long to warn
* dwarf.c (read_cie): Cast size to long to warn.
This commit is contained in:
parent
058037d3a1
commit
926e166ccb
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2014-12-22 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
* dwarf.c (read_cie): Cast size to long to warn.
|
||||||
|
|
||||||
2014-12-22 Nick Clifton <nickc@redhat.com>
|
2014-12-22 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
PR binutils/17531
|
PR binutils/17531
|
||||||
|
|
|
@ -5539,7 +5539,7 @@ read_cie (unsigned char *start, unsigned char *end,
|
||||||
if (q < qend)
|
if (q < qend)
|
||||||
{
|
{
|
||||||
warn (_("Not enough augmentation data (%lx bytes still needed)\n"),
|
warn (_("Not enough augmentation data (%lx bytes still needed)\n"),
|
||||||
(augmentation_data + augmentation_data_len) - q);
|
(long) ((augmentation_data + augmentation_data_len) - q));
|
||||||
augmentation_data_len = q - augmentation_data;
|
augmentation_data_len = q - augmentation_data;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue