git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec5d09d
)
Fix const warning.
author
Jeremy Allison
<jra@samba.org>
Wed, 8 Oct 2008 00:56:32 +0000
(17:56 -0700)
committer
Jeremy Allison
<jra@samba.org>
Wed, 8 Oct 2008 00:56:32 +0000
(17:56 -0700)
Jeremy.
source3/modules/vfs_acl_xattr.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_acl_xattr.c
b/source3/modules/vfs_acl_xattr.c
index 2b3fc2ebb22829f70067c3d938056ba41a100a0c..4a8f6fec01a7be40fca2a3f6e83de3f26c04ca94 100644
(file)
--- 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(