From 31c1c49b58453704a262c2524eafac5db7d1f803 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 18 Sep 2011 01:52:14 +0200 Subject: s3: Fix a c++ warning Autobuild-User: Volker Lendecke Autobuild-Date: Sun Sep 18 18:55:48 CEST 2011 on sn-devel-104 --- source3/modules/vfs_acl_common.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- cgit