summaryrefslogtreecommitdiff
path: root/ui/gtk/sctp_byte_graph_dlg.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gtk/sctp_byte_graph_dlg.c')
-rw-r--r--ui/gtk/sctp_byte_graph_dlg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gtk/sctp_byte_graph_dlg.c b/ui/gtk/sctp_byte_graph_dlg.c
index d813f4c6fb..f9079fa028 100644
--- a/ui/gtk/sctp_byte_graph_dlg.c
+++ b/ui/gtk/sctp_byte_graph_dlg.c
@@ -797,7 +797,7 @@ on_configure_event(GtkWidget *widget, GdkEventConfigure *event _U_, gpointer use
static gboolean
on_draw_area_draw_event(GtkWidget *widget, cairo_t *cr, gpointer user_data)
{
- sctp_graph_t *ios = user_data;
+ sctp_graph_t *ios = (sctp_graph_t *)user_data;
GtkAllocation allocation;
gtk_widget_get_allocation (widget, &allocation);