apply a couple of (int) before r_type switch usage.
This commit is contained in:
parent
1d3a88895d
commit
fc24f81836
2
external/gpl3/binutils/dist/bfd/elf32-ppc.c
vendored
2
external/gpl3/binutils/dist/bfd/elf32-ppc.c
vendored
@ -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)
|
||||
|
2
gnu/dist/gdb6/bfd/elf32-ppc.c
vendored
2
gnu/dist/gdb6/bfd/elf32-ppc.c
vendored
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user