diff options
author | Pierre Muller <muller@sourceware.org> | 2011-03-28 11:58:18 +0000 |
---|---|---|
committer | Pierre Muller <muller@sourceware.org> | 2011-03-28 11:58:18 +0000 |
commit | 1a9911c3b8889e1931da3f18f804f91f1880ce19 (patch) | |
tree | c33868c272ede89a153160c8308ce91e572825b0 /binutils/coffdump.c | |
parent | 5b806d279379d653094d290ae57498ad4ddd6cbf (diff) | |
download | gdb-1a9911c3b8889e1931da3f18f804f91f1880ce19.zip gdb-1a9911c3b8889e1931da3f18f804f91f1880ce19.tar.gz gdb-1a9911c3b8889e1931da3f18f804f91f1880ce19.tar.bz2 |
* coffdump.c (dump_coff_scope): Use double typecast for pointer P
to allow compilation for all targets.
Diffstat (limited to 'binutils/coffdump.c')
-rw-r--r-- | binutils/coffdump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/coffdump.c b/binutils/coffdump.c index 21114bc..d5ccb99 100644 --- a/binutils/coffdump.c +++ b/binutils/coffdump.c @@ -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); |