aboutsummaryrefslogtreecommitdiff
path: root/binutils/objdump.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-02-23 12:25:57 +0000
committerAlan Modra <amodra@gmail.com>2005-02-23 12:25:57 +0000
commit9210d879437155a7f2743a1a59980c79b971627e (patch)
treee1e85259fe81aea8c2506128a3283dc2d152bccf /binutils/objdump.c
parentec36c4a4d6de4c4d4d2e685a583b91cfe8fb26ff (diff)
downloadgdb-9210d879437155a7f2743a1a59980c79b971627e.zip
gdb-9210d879437155a7f2743a1a59980c79b971627e.tar.gz
gdb-9210d879437155a7f2743a1a59980c79b971627e.tar.bz2
* dlltool.c: Warning fixes.
* objdump.c: Likewise.
Diffstat (limited to 'binutils/objdump.c')
-rw-r--r--binutils/objdump.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/binutils/objdump.c b/binutils/objdump.c
index 01e6198..f63e298 100644
--- a/binutils/objdump.c
+++ b/binutils/objdump.c
@@ -1,6 +1,6 @@
/* objdump.c -- dump information about an object file.
Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
- 2000, 2001, 2002, 2003, 2004
+ 2000, 2001, 2002, 2003, 2004, 2005
Free Software Foundation, Inc.
This file is part of GNU Binutils.
@@ -2056,7 +2056,8 @@ find_stabs_section (bfd *abfd, asection *section, void *names)
if (strtab)
{
- stabs = read_section_stabs (abfd, section->name, &stab_size);
+ stabs = (bfd_byte *) read_section_stabs (abfd, section->name,
+ &stab_size);
if (stabs)
print_section_stabs (abfd, section->name, &sought->string_offset);
}