* coffdump.c (dump_coff_scope): Use double typecast for pointer P
authorPierre Muller <muller@sourceware.org>
Mon, 28 Mar 2011 11:58:18 +0000 (11:58 +0000)
committerPierre Muller <muller@sourceware.org>
Mon, 28 Mar 2011 11:58:18 +0000 (11:58 +0000)
to allow compilation for all targets.

binutils/ChangeLog
binutils/coffdump.c

index 5af068b551516558ee209fd19d6f4d8c74ce491f..f806edde6329c9feffe8c0aeca2103b8f47fb8d7 100644 (file)
@@ -1,3 +1,8 @@
+2011-03-25  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * coffdump.c (dump_coff_scope): Use double typecast for pointer P
+       to allow compilation for all targets.
+
 2011-03-25  Pierre Muller  <muller@ics.u-strasbg.fr>
 
        * dwarf.c (process_debug_info): Use offset_size to determine
index 21114bc81d8d927a78d1257ca4ea332914cddfb3..d5ccb99c3adf82a9f32ea633abf3f127256a68fa 100644 (file)
@@ -365,7 +365,7 @@ dump_coff_scope (struct coff_scope *p)
   if (p)
     {
       tab (1);
-      printf ("List of blocks %lx ",(unsigned long) p);
+      printf ("List of blocks %" BFD_VMA_FMT "x ",(bfd_vma) (uintptr_t) p);
 
       if (p->sec)
        printf( "  %s %x..%x",  p->sec->name,p->offset, p->offset + p->size -1);
This page took 0.02588 seconds and 4 git commands to generate.