* smbfs.c (smbfs_init): Added a cast to avoid compiler warning.

This commit is contained in:
Roland Illig 2004-09-18 14:41:42 +00:00
parent 2994c738d0
commit 8335c0fab3
2 changed files with 5 additions and 1 deletions

View File

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

View File

@ -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 ());