diff options
Diffstat (limited to 'gdb/top.c')
-rw-r--r-- | gdb/top.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -278,7 +278,7 @@ void do_restore_instream_cleanup (void *stream) { /* Restore the previous input stream. */ - instream = stream; + instream = (FILE *) stream; } /* Read commands from STREAM. */ @@ -813,7 +813,8 @@ struct gdb_readline_wrapper_cleanup static void gdb_readline_wrapper_cleanup (void *arg) { - struct gdb_readline_wrapper_cleanup *cleanup = arg; + struct gdb_readline_wrapper_cleanup *cleanup + = (struct gdb_readline_wrapper_cleanup *) arg; rl_already_prompted = cleanup->already_prompted_orig; @@ -1439,7 +1440,7 @@ struct qt_args static int kill_or_detach (struct inferior *inf, void *args) { - struct qt_args *qt = args; + struct qt_args *qt = (struct qt_args *) args; struct thread_info *thread; if (inf->pid == 0) @@ -1470,7 +1471,7 @@ kill_or_detach (struct inferior *inf, void *args) static int print_inferior_quit_action (struct inferior *inf, void *arg) { - struct ui_file *stb = arg; + struct ui_file *stb = (struct ui_file *) arg; if (inf->pid == 0) return 0; |