diff options
author | Nick Clifton <nickc@redhat.com> | 2012-07-24 12:56:47 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2012-07-24 12:56:47 +0000 |
commit | d908c8af5a1d7d9122decf3cab08018e9f925d27 (patch) | |
tree | e9180093ce95aa1d1dc33663b6bd42ea3d0bfe33 /opcodes/ppc-dis.c | |
parent | e2d12c215218cb525eda808e0875f07102e36fce (diff) | |
download | gdb-d908c8af5a1d7d9122decf3cab08018e9f925d27.zip gdb-d908c8af5a1d7d9122decf3cab08018e9f925d27.tar.gz gdb-d908c8af5a1d7d9122decf3cab08018e9f925d27.tar.bz2 |
PR binutils/13135
* arm-dis.c: Add necessary casts for printing integer values.
Use %s when printing string values.
* hppa-dis.c: Likewise.
* m68k-dis.c: Likewise.
* microblaze-dis.c: Likewise.
* mips-dis.c: Likewise.
* ppc-dis.c: Likewise.
* sparc-dis.c: Likewise.
* dis-asm.h (fprintf_ftype): Add ATTRIBUTE_FPTR_PRINTF_2.
Diffstat (limited to 'opcodes/ppc-dis.c')
-rw-r--r-- | opcodes/ppc-dis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/ppc-dis.c b/opcodes/ppc-dis.c index 0905744..44310e8 100644 --- a/opcodes/ppc-dis.c +++ b/opcodes/ppc-dis.c @@ -666,7 +666,7 @@ print_insn_powerpc (bfd_vma memaddr, (*info->fprintf_func) (info->stream, "%s", cbnames[cc]); } else - (*info->fprintf_func) (info->stream, "%d", value); + (*info->fprintf_func) (info->stream, "%d", (int) value); if (need_paren) { |