Cast size to long to warn

* dwarf.c (read_cie): Cast size to long to warn.
This commit is contained in:
H.J. Lu 2014-12-22 15:29:21 -08:00
parent 058037d3a1
commit 926e166ccb
2 changed files with 5 additions and 1 deletions

View file

@ -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>
PR binutils/17531

View file

@ -5539,7 +5539,7 @@ read_cie (unsigned char *start, unsigned char *end,
if (q < qend)
{
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;
}
}