Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Dec 2014 00:10:44 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r276352 - head/contrib/binutils/bfd
Message-ID:  <201412290010.sBT0AiEL063343@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412290010.sBT0AiEL063343>