aboutsummaryrefslogtreecommitdiff
path: root/bfd/som.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-08-08 03:05:16 +0000
committerIan Lance Taylor <ian@airs.com>1995-08-08 03:05:16 +0000
commitf918d3ccc778d34cc2c43752893c24427e3f65a2 (patch)
tree2636fd51a87e033250d662981b1d52c4d6e55994 /bfd/som.c
parent4fedeeb08cdf1853d90cb0f399966eafc94ccbe8 (diff)
downloadgdb-f918d3ccc778d34cc2c43752893c24427e3f65a2.zip
gdb-f918d3ccc778d34cc2c43752893c24427e3f65a2.tar.gz
gdb-f918d3ccc778d34cc2c43752893c24427e3f65a2.tar.bz2
* som.c (som_bfd_copy_private_symbol_data): Cast initializations
to avoid warnings.
Diffstat (limited to 'bfd/som.c')
-rw-r--r--bfd/som.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/som.c b/bfd/som.c
index 03b487e..ac71e5c 100644
--- a/bfd/som.c
+++ b/bfd/som.c
@@ -4680,8 +4680,8 @@ som_bfd_copy_private_symbol_data (ibfd, isymbol, obfd, osymbol)
bfd *obfd;
asymbol *osymbol;
{
- struct som_symbol *input_symbol = isymbol;
- struct som_symbol *output_symbol = osymbol;
+ struct som_symbol *input_symbol = (struct som_symbol *) isymbol;
+ struct som_symbol *output_symbol = (struct som_symbol *) osymbol;
/* One day we may try to grok other private data. */
if (ibfd->xvec->flavour != bfd_target_som_flavour