* 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 49b5ed94e20dbcf2de90453d2402189c2e018f88..177eb66edd15d6e1ba7ac29818d4636b68d9bbf2 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 03b487e0aad6cd390a2d577e05810181e5cac418..ac71e5cf08ea643c71fac52986acb9643313ae48 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