s3: Fix a c++ warning
authorVolker Lendecke <vl@samba.org>
Sat, 17 Sep 2011 23:52:14 +0000 (01:52 +0200)
committerVolker Lendecke <vlendec@samba.org>
Sun, 18 Sep 2011 16:55:48 +0000 (18:55 +0200)
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Sep 18 18:55:48 CEST 2011 on sn-devel-104

source3/modules/vfs_acl_common.c

index f2f55ecf7395d8465119dc2a969d474881c75830..9a1d13b1185bdef3b8ea838798cb1d4a802b1a4f 100644 (file)
@@ -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);