summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
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);