summaryrefslogtreecommitdiff
path: root/ui/gtk/sctp_graph_dlg.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gtk/sctp_graph_dlg.c')
-rw-r--r--ui/gtk/sctp_graph_dlg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gtk/sctp_graph_dlg.c b/ui/gtk/sctp_graph_dlg.c
index cd624092cc..e61aae5968 100644
--- a/ui/gtk/sctp_graph_dlg.c
+++ b/ui/gtk/sctp_graph_dlg.c
@@ -1185,7 +1185,7 @@ configure_event(GtkWidget *widget, GdkEventConfigure *event _U_, gpointer user_d
static gboolean
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);