* som.c (som_bfd_copy_private_symbol_data): Cast initializations
authorIan Lance Taylor <ian@airs.com>
Tue, 8 Aug 1995 03:05:16 +0000 (03:05 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 8 Aug 1995 03:05:16 +0000 (03:05 +0000)
to avoid warnings.

bfd/ChangeLog
bfd/som.c

index 49b5ed9..177eb66 100644 (file)
@@ -1,3 +1,8 @@
+Mon Aug  7 23:03:21 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * som.c (som_bfd_copy_private_symbol_data): Cast initializations
+       to avoid warnings.
+
 Mon Aug  7 14:51:08 1995  Jeff Law  (law@snake.cs.utah.edu)
 
        * som.c (som_decode_symclass): Handle absolute symbols by checking
index 03b487e..ac71e5c 100644 (file)
--- 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