diff options
author | Jeremy Allison <jra@samba.org> | 2008-10-07 17:56:32 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2008-10-07 17:56:32 -0700 |
commit | 859facda89ff3589e87c4cbe1708578769d7c535 (patch) | |
tree | a829244a3378669acd53fc26ba2d87b842995e2f /source3/modules | |
parent | ec5d09dbff94d909f5ef65fb30165672947455b8 (diff) | |
download | samba-859facda89ff3589e87c4cbe1708578769d7c535.tar.gz samba-859facda89ff3589e87c4cbe1708578769d7c535.tar.bz2 samba-859facda89ff3589e87c4cbe1708578769d7c535.zip |
Fix const warning.
Jeremy.
Diffstat (limited to 'source3/modules')
-rw-r--r-- | source3/modules/vfs_acl_xattr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_acl_xattr.c b/source3/modules/vfs_acl_xattr.c index 2b3fc2ebb2..4a8f6fec01 100644 --- a/source3/modules/vfs_acl_xattr.c +++ b/source3/modules/vfs_acl_xattr.c @@ -257,7 +257,7 @@ static NTSTATUS create_acl_blob(const SEC_DESC *psd, DATA_BLOB *pblob) xacl.version = 2; xacl.info.sd_ts = &sd_ts; - xacl.info.sd_ts->sd = psd; + xacl.info.sd_ts->sd = CONST_DISCARD(SEC_DESC *, psd); unix_timespec_to_nt_time(&xacl.info.sd_ts->last_changed, curr); ndr_err = ndr_push_struct_blob( |