From: Nick Clifton Date: Tue, 6 Feb 2007 16:47:47 +0000 (+0000) Subject: Add missing cast to (unsigned long) X-Git-Tag: drow-reverse-20070409-branchpoint~563 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=29006a4414ee5c30970145faed16142a285d91d8;p=thirdparty%2Fbinutils-gdb.git Add missing cast to (unsigned long) --- diff --git a/binutils/dwarf.c b/binutils/dwarf.c index ad709b97f7b..f09ed1e9c04 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,