summaryrefslogtreecommitdiffstats
path: root/source/smbd/vfs.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2000-07-10 06:41:04 +0000
committerTim Potter <tpot@samba.org>2000-07-10 06:41:04 +0000
commit898a483cdab1ed7d8ff902c0dc0e0620440ae4cd (patch)
tree8470252abf27634d16a8a9fae9f0cad111b9d127 /source/smbd/vfs.c
parentf866c18f6be65db67d9d2a6c0b42e1af3b421e6c (diff)
downloadsamba-898a483cdab1ed7d8ff902c0dc0e0620440ae4cd.tar.gz
samba-898a483cdab1ed7d8ff902c0dc0e0620440ae4cd.tar.xz
samba-898a483cdab1ed7d8ff902c0dc0e0620440ae4cd.zip
Fixes for various compile warnings on Solaris 8.
Diffstat (limited to 'source/smbd/vfs.c')
-rw-r--r--source/smbd/vfs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/smbd/vfs.c b/source/smbd/vfs.c
index 9a1af18b3d0..7c348173519 100644
--- a/source/smbd/vfs.c
+++ b/source/smbd/vfs.c
@@ -83,6 +83,7 @@ int vfs_init_default(connection_struct *conn)
/****************************************************************************
initialise custom vfs hooks
****************************************************************************/
+
#ifdef HAVE_LIBDL
BOOL vfs_init_custom(connection_struct *conn)
{
@@ -105,7 +106,8 @@ BOOL vfs_init_custom(connection_struct *conn)
/* Get handle on vfs_init() symbol */
- fptr = dlsym(handle, "vfs_init");
+ fptr = (struct vfs_ops *(*)(struct vfs_options *))
+ dlsym(handle, "vfs_init");
if (fptr == NULL) {
DEBUG(0, ("No vfs_init() symbol found in %s\n",