summaryrefslogtreecommitdiff
path: root/gdb/event-loop.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/event-loop.c')
-rw-r--r--gdb/event-loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/event-loop.c b/gdb/event-loop.c
index ceff6997ff4..b36fefa4e32 100644
--- a/gdb/event-loop.c
+++ b/gdb/event-loop.c
@@ -414,7 +414,7 @@ start_event_loop (void)
/* If any exception escaped to here, we better enable
stdin. Otherwise, any command that calls async_disable_stdin,
and then throws, will leave stdin inoperable. */
- async_enable_stdin ((void *) 0);
+ async_enable_stdin ();
/* FIXME: this should really be a call to a hook that is
interface specific, because interfaces can display the
prompt in their own way. */