diff options
-rw-r--r-- | binutils/ChangeLog | 4 | ||||
-rw-r--r-- | binutils/dwarf.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index dc06202b..3158f5f 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -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 diff --git a/binutils/dwarf.c b/binutils/dwarf.c index 56f27ec..e4efd06 100644 --- a/binutils/dwarf.c +++ b/binutils/dwarf.c @@ -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; } } |