mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
lib/widget/dialog.c: cleanup -Wcast-qual warning.
Signed-off-by: Andreas Mohr <and@gmx.li> Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
a5cd35d11e
commit
68d7f53039
@ -202,7 +202,7 @@ static int
|
||||
dlg_find_widget_callback (const void *a, const void *b)
|
||||
{
|
||||
const Widget *w = CONST_WIDGET (a);
|
||||
widget_cb_fn f = (widget_cb_fn) b;
|
||||
const widget_cb_fn f = b;
|
||||
|
||||
return (w->callback == f) ? 0 : 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user