apply a couple of (int) before r_type switch usage.

This commit is contained in:
mrg 2011-07-07 07:47:11 +00:00
parent 1d3a88895d
commit fc24f81836
2 changed files with 2 additions and 2 deletions

View File

@ -6480,7 +6480,7 @@ ppc_elf_relocate_section (bfd *output_bfd,
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)

View File

@ -3028,7 +3028,7 @@ ppc_elf_check_relocs (bfd *abfd,
}
r_type = ELF32_R_TYPE (rel->r_info);
switch (r_type)
switch ((int)r_type)
{
case R_PPC_GOT_TLSLD16:
case R_PPC_GOT_TLSLD16_LO: