]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Add missing cast to (unsigned long)
authorNick Clifton <nickc@redhat.com>
Tue, 6 Feb 2007 16:47:47 +0000 (16:47 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 6 Feb 2007 16:47:47 +0000 (16:47 +0000)
binutils/dwarf.c

index ad709b97f7bb14a5d127d3d80b6c270d6c3c7e0a..f09ed1e9c04001ac90a2ef09be697d9bd0e254c8 100644 (file)
@@ -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,