aboutsummaryrefslogtreecommitdiff
path: root/binutils/dwarf.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2014-12-22 15:29:21 -0800
committerH.J. Lu <hjl.tools@gmail.com>2014-12-22 15:29:21 -0800
commit926e166ccb13215da1577f83fd422d3c9b36a1f2 (patch)
treec9ce2c67294b399949f727ed7b0e5ec04965c9d4 /binutils/dwarf.c
parent058037d3a169c91042c9b8549f7d04fd7550bed6 (diff)
downloadgdb-926e166ccb13215da1577f83fd422d3c9b36a1f2.zip
gdb-926e166ccb13215da1577f83fd422d3c9b36a1f2.tar.gz
gdb-926e166ccb13215da1577f83fd422d3c9b36a1f2.tar.bz2
Cast size to long to warn
* dwarf.c (read_cie): Cast size to long to warn.
Diffstat (limited to 'binutils/dwarf.c')
-rw-r--r--binutils/dwarf.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}