aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2007-02-06 16:47:47 +0000
committerNick Clifton <nickc@redhat.com>2007-02-06 16:47:47 +0000
commit29006a4414ee5c30970145faed16142a285d91d8 (patch)
tree3c509a2736a7b0709f35a6ff63bf4223cfdab80e /binutils
parentea0c3cd5bd81fb9b59d14d4f6ee033740a7f1c22 (diff)
downloadgdb-29006a4414ee5c30970145faed16142a285d91d8.zip
gdb-29006a4414ee5c30970145faed16142a285d91d8.tar.gz
gdb-29006a4414ee5c30970145faed16142a285d91d8.tar.bz2
Add missing cast to (unsigned long)
Diffstat (limited to 'binutils')
-rw-r--r--binutils/dwarf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/dwarf.c b/binutils/dwarf.c
index ad709b9..f09ed1e 100644
--- a/binutils/dwarf.c
+++ b/binutils/dwarf.c
@@ -1745,7 +1745,7 @@ process_debug_info (struct dwarf_section *section, void *file,
{
if (! do_loc)
/* Show the offset from where the tag was extracted. */
- printf (" <%2lx>", tags - section_begin);
+ printf (" <%2lx>", (unsigned long)(tags - section_begin));
tags = read_and_display_attr (attr->attribute,
attr->form,