aboutsummaryrefslogtreecommitdiff
path: root/binutils/dwarf.c
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2007-11-21 17:50:41 +0000
committerHans-Peter Nilsson <hp@axis.com>2007-11-21 17:50:41 +0000
commit0eb090cbfc72edaed6f63d51edcdc82ed22c1a57 (patch)
tree096e851376a503fb03059a4988fc665f65ef91fe /binutils/dwarf.c
parentfc91707cc23bf4d1cd75cc754c28cc4ff6b8c5bd (diff)
downloadfsf-binutils-gdb-0eb090cbfc72edaed6f63d51edcdc82ed22c1a57.zip
fsf-binutils-gdb-0eb090cbfc72edaed6f63d51edcdc82ed22c1a57.tar.gz
fsf-binutils-gdb-0eb090cbfc72edaed6f63d51edcdc82ed22c1a57.tar.bz2
* dwarf.c (display_debug_loc): Cast section_end - start to long
for output format.
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 a673564..6fa270d 100644
--- a/binutils/dwarf.c
+++ b/binutils/dwarf.c
@@ -2627,7 +2627,7 @@ display_debug_loc (struct dwarf_section *section, void *file)
if (start < section_end)
warn (_("There are %ld unused bytes at the end of section %s\n"),
- section_end - start, section->name);
+ (long) (section_end - start), section->name);
return 1;
}