* screen.c (panel_format_modified): Use more portable cast.

This commit is contained in:
Pavel Roskin 2001-10-01 04:31:49 +00:00
parent da462709f0
commit 04392aad1d
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2001-10-01 Pavel Roskin <proski@gnu.org>
* 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.

View File

@ -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 */