summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-09-18 01:52:14 +0200
committerVolker Lendecke <vlendec@samba.org>2011-09-18 18:55:48 +0200
commit31c1c49b58453704a262c2524eafac5db7d1f803 (patch)
treee2a151912e8e539ec9daa694209d1acd7bcfe808 /source3
parent49233b41e64e931706d35741c714b6273e8f6e1e (diff)
downloadsamba-31c1c49b58453704a262c2524eafac5db7d1f803.tar.gz
samba-31c1c49b58453704a262c2524eafac5db7d1f803.tar.bz2
samba-31c1c49b58453704a262c2524eafac5db7d1f803.zip
s3: Fix a c++ warning
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Sep 18 18:55:48 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--source3/modules/vfs_acl_common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/modules/vfs_acl_common.c b/source3/modules/vfs_acl_common.c
index f2f55ecf73..9a1d13b118 100644
--- a/source3/modules/vfs_acl_common.c
+++ b/source3/modules/vfs_acl_common.c
@@ -656,7 +656,8 @@ static int open_acl_common(vfs_handle_struct *handle,
/* Cache the parent security descriptor for
* later use. */
- pp_psd = VFS_ADD_FSP_EXTENSION(handle,
+ pp_psd = (struct security_descriptor **)
+ VFS_ADD_FSP_EXTENSION(handle,
fsp,
struct security_descriptor *,
NULL);