1
1

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

Этот коммит содержится в:
Roland Illig 2004-09-18 14:41:42 +00:00
родитель 2994c738d0
Коммит 8335c0fab3
2 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

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