mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
(find_widget_type): Make Solaris Studio happy
Make Solaris Studio 12.4 happy. "dialog.c", line 1029: warning: argument #2 is incompatible with prototype: prototype: pointer to const void argument : pointer to function (...) returning enum (...) Signed-off-by: Andreas Mohr <and@gmx.li> Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
72258dcca6
commit
284a19aff1
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user