Author: dim
Date: Mon Dec 29 00:10:43 2014
New Revision: 276352
URL: https://svnweb.freebsd.org/changeset/base/276352

Log:
  In contrib/binutils/bfd/elf32-ppc.c, avoid warnings about case values
  not being in the enumerated type 'enum elf_ppc_reloc_type', by casting
  the switch argument to int.
  
  MFC after:    3 days

Modified:
  head/contrib/binutils/bfd/elf32-ppc.c

Modified: head/contrib/binutils/bfd/elf32-ppc.c
==============================================================================
--- head/contrib/binutils/bfd/elf32-ppc.c       Sun Dec 28 21:36:20 2014        
(r276351)
+++ head/contrib/binutils/bfd/elf32-ppc.c       Mon Dec 29 00:10:43 2014        
(r276352)
@@ -6185,7 +6185,7 @@ ppc_elf_relocate_section (bfd *output_bf
       howto = NULL;
       if (r_type < R_PPC_max)
        howto = ppc_elf_howto_table[r_type];
-      switch (r_type)
+      switch ((int) r_type)
        {
        default:
          (*_bfd_error_handler)
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to