diff --git a/src/ChangeLog b/src/ChangeLog index b0f8496fd..581cb5ac6 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2001-10-01 Pavel Roskin + * screen.c (panel_format_modified): Use more portable cast. + * fileopctx.h: Define new type mc_stat_fn. * filegui.c (file_mask_dialog): Cast mc_stat and mc_lstat to mc_stat_fn to prevent warnings without VFS support. diff --git a/src/screen.c b/src/screen.c index 174687334..d71d314c0 100644 --- a/src/screen.c +++ b/src/screen.c @@ -916,7 +916,7 @@ panel_format_modified (WPanel *panel) int is_a_panel (Widget *w) { - return (w->callback == (void *) panel_callback); + return (w->callback == (callback_fn) panel_callback); } /* Panel creation */