diff options
author | Tom Tromey <tromey@redhat.com> | 2013-04-09 02:17:17 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-04-09 02:17:17 +0000 |
commit | 4c8429eff1e1d9e511b227b6ea0b15c06c376e30 (patch) | |
tree | e1f4b7b48d3f8597d82fb477bde9bb22bbb48b77 /gdb/symmisc.c | |
parent | 3c790dccaa4d2e6e6b2bfce19b815bd4debd4335 (diff) | |
download | gdb-4c8429eff1e1d9e511b227b6ea0b15c06c376e30.zip gdb-4c8429eff1e1d9e511b227b6ea0b15c06c376e30.tar.gz gdb-4c8429eff1e1d9e511b227b6ea0b15c06c376e30.tar.bz2 |
* symmisc.c (dump_msymbols): Cast fprintf_filtered argument to
long.
Diffstat (limited to 'gdb/symmisc.c')
-rw-r--r-- | gdb/symmisc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symmisc.c b/gdb/symmisc.c index c4bf97e..52c934a 100644 --- a/gdb/symmisc.c +++ b/gdb/symmisc.c @@ -268,7 +268,7 @@ dump_msymbols (struct objfile *objfile, struct ui_file *outfile) section->the_bfd_section)); else fprintf_filtered (outfile, " spurious section %ld", - section - objfile->sections); + (long) (section - objfile->sections)); } if (SYMBOL_DEMANGLED_NAME (msymbol) != NULL) { |