mirror of
https://github.com/MidnightCommander/mc
synced 2025-02-28 21:24:20 +03:00
* info.c (info_show_info): Casted st_mode to unsigned to avoid
compiler warning on Solaris 9 (st_mode is unsigned long there).
This commit is contained in:
parent
7d1b02caad
commit
42d2ab10be
@ -1,4 +1,9 @@
|
||||
2005-02-12 Jindrich Novy <jnovy@redhat.com>
|
||||
2005-02-12 Roland Illig <roland.illig@gmx.de>
|
||||
|
||||
* info.c (info_show_info): Casted st_mode to unsigned to avoid
|
||||
compiler warning on Solaris 9 (st_mode is unsigned long there).
|
||||
|
||||
2005-02-12 Jindrich Novy <jnovy@redhat.com>
|
||||
|
||||
* vfs.c (vfs_translate_url): Add support for smb://, sh://,
|
||||
ssh:// and mc:// filesystem requests. Introduced separate table
|
||||
|
@ -181,7 +181,7 @@ info_show_info (struct WInfo *info)
|
||||
case 5:
|
||||
widget_move (&info->widget, 5, 3);
|
||||
printw (const_cast(char *, _("Mode: %s (%04o)")),
|
||||
string_perm (st.st_mode), st.st_mode & 07777);
|
||||
string_perm (st.st_mode), (unsigned) st.st_mode & 07777);
|
||||
|
||||
case 4:
|
||||
widget_move (&info->widget, 4, 3);
|
||||
|
Loading…
x
Reference in New Issue
Block a user