mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-24 20:22:11 +03:00
* screen.c (panel_format_modified): Use more portable cast.
This commit is contained in:
parent
da462709f0
commit
04392aad1d
@ -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.
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user