Module Name: src
Committed By: mrg
Date: Thu Jul 7 07:47:11 UTC 2011
Modified Files:
src/external/gpl3/binutils/dist/bfd: elf32-ppc.c
src/gnu/dist/gdb6/bfd: elf32-ppc.c
Log Message:
apply a couple of (int) before r_type switch usage.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/binutils/dist/bfd/elf32-ppc.c
cvs rdiff -u -r1.2 -r1.3 src/gnu/dist/gdb6/bfd/elf32-ppc.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/binutils/dist/bfd/elf32-ppc.c
diff -u src/external/gpl3/binutils/dist/bfd/elf32-ppc.c:1.3 src/external/gpl3/binutils/dist/bfd/elf32-ppc.c:1.4
--- src/external/gpl3/binutils/dist/bfd/elf32-ppc.c:1.3 Wed Jul 6 09:01:35 2011
+++ src/external/gpl3/binutils/dist/bfd/elf32-ppc.c Thu Jul 7 07:47:11 2011
@@ -6480,7 +6480,7 @@
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)
Index: src/gnu/dist/gdb6/bfd/elf32-ppc.c
diff -u src/gnu/dist/gdb6/bfd/elf32-ppc.c:1.2 src/gnu/dist/gdb6/bfd/elf32-ppc.c:1.3
--- src/gnu/dist/gdb6/bfd/elf32-ppc.c:1.2 Wed Jul 6 09:01:36 2011
+++ src/gnu/dist/gdb6/bfd/elf32-ppc.c Thu Jul 7 07:47:11 2011
@@ -3028,7 +3028,7 @@
}
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: