aboutsummaryrefslogtreecommitdiff
path: root/gdb/ui-out.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ui-out.c')
-rw-r--r--gdb/ui-out.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/ui-out.c b/gdb/ui-out.c
index a87c1d3..881a56e 100644
--- a/gdb/ui-out.c
+++ b/gdb/ui-out.c
@@ -360,7 +360,7 @@ and before table_body."));
static void
do_cleanup_table_end (void *data)
{
- struct ui_out *ui_out = data;
+ struct ui_out *ui_out = (struct ui_out *) data;
ui_out_table_end (ui_out);
}
@@ -429,7 +429,8 @@ struct ui_out_end_cleanup_data
static void
do_cleanup_end (void *data)
{
- struct ui_out_end_cleanup_data *end_cleanup_data = data;
+ struct ui_out_end_cleanup_data *end_cleanup_data
+ = (struct ui_out_end_cleanup_data *) data;
ui_out_end (end_cleanup_data->uiout, end_cleanup_data->type);
xfree (end_cleanup_data);