mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
* smbfs.c (smbfs_init): Added a cast to avoid compiler warning.
This commit is contained in:
parent
2994c738d0
commit
8335c0fab3
@ -1,3 +1,7 @@
|
||||
2004-09-18 Roland Illig <roland.illig@gmx.de>
|
||||
|
||||
* smbfs.c (smbfs_init): Added a cast to avoid compiler warning.
|
||||
|
||||
2004-09-17 Pavel S. Shirshov <pavelsh@mail.ru>
|
||||
|
||||
* extfs.c (extfs_open_archive): Fixes bug in extfs, which showed
|
||||
|
@ -295,7 +295,7 @@ smbfs_init (struct vfs_class * me)
|
||||
if (!get_myname (myhostname, NULL))
|
||||
DEBUG (0, ("Failed to get my hostname.\n"));
|
||||
|
||||
if (!lp_load (servicesf, True, False, False))
|
||||
if (!lp_load (const_cast(char *, servicesf), True, False, False))
|
||||
DEBUG (0, ("Cannot load %s - run testparm to debug it\n", servicesf));
|
||||
|
||||
codepage_initialise (lp_client_code_page ());
|
||||
|
Loading…
Reference in New Issue
Block a user