diff --git a/lib/widget/dialog.c b/lib/widget/dialog.c index be4adc536..bfa0fba51 100644 --- a/lib/widget/dialog.c +++ b/lib/widget/dialog.c @@ -1042,7 +1042,7 @@ find_widget_type (const WDialog * h, widget_cb_fn callback) { GList *w; - w = g_list_find_custom (h->widgets, callback, dlg_find_widget_callback); + w = g_list_find_custom (h->widgets, (gconstpointer) callback, dlg_find_widget_callback); return (w == NULL) ? NULL : WIDGET (w->data); }