diff options
Diffstat (limited to 'gdb/disasm.c')
-rw-r--r-- | gdb/disasm.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gdb/disasm.c b/gdb/disasm.c index 2b65c6a..6e3d6c1 100644 --- a/gdb/disasm.c +++ b/gdb/disasm.c @@ -59,7 +59,7 @@ struct dis_line_entry static hashval_t hash_dis_line_entry (const void *item) { - const struct dis_line_entry *dle = item; + const struct dis_line_entry *dle = (const struct dis_line_entry *) item; return htab_hash_pointer (dle->symtab) + dle->line; } @@ -69,8 +69,8 @@ hash_dis_line_entry (const void *item) static int eq_dis_line_entry (const void *item_lhs, const void *item_rhs) { - const struct dis_line_entry *lhs = item_lhs; - const struct dis_line_entry *rhs = item_rhs; + const struct dis_line_entry *lhs = (const struct dis_line_entry *) item_lhs; + const struct dis_line_entry *rhs = (const struct dis_line_entry *) item_rhs; return (lhs->symtab == rhs->symtab && lhs->line == rhs->line); @@ -139,9 +139,9 @@ dis_asm_memory_error (int status, bfd_vma memaddr, static void dis_asm_print_address (bfd_vma addr, struct disassemble_info *info) { - struct gdbarch *gdbarch = info->application_data; + struct gdbarch *gdbarch = (struct gdbarch *) info->application_data; - print_address (gdbarch, addr, info->stream); + print_address (gdbarch, addr, (struct ui_file *) info->stream); } static int @@ -713,7 +713,7 @@ fprintf_disasm (void *stream, const char *format, ...) va_list args; va_start (args, format); - vfprintf_filtered (stream, format, args); + vfprintf_filtered ((struct ui_file *) stream, format, args); va_end (args); /* Something non -ve. */ return 0; @@ -806,7 +806,7 @@ gdb_print_insn (struct gdbarch *gdbarch, CORE_ADDR memaddr, static void do_ui_file_delete (void *arg) { - ui_file_delete (arg); + ui_file_delete ((struct ui_file *) arg); } /* Return the length in bytes of the instruction at address MEMADDR in |