svn commit: r276352 - head/contrib/binutils/bfd
Dimitry Andric
dim at FreeBSD.org
Mon Dec 29 00:10:45 UTC 2014
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)
More information about the svn-src-all
mailing list