[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-4232-g2b8c7a5

Jeremy Allison jra at samba.org
Wed Oct 8 00:56:49 GMT 2008


The branch, v3-3-test has been updated
       via  2b8c7a53860b43435f1b68235abd14e2f850a8f5 (commit)
      from  3869464895d51588ed156606051812efb26755a9 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test


- Log -----------------------------------------------------------------
commit 2b8c7a53860b43435f1b68235abd14e2f850a8f5
Author: Jeremy Allison <jra at samba.org>
Date:   Tue Oct 7 17:55:57 2008 -0700

    Fix const warning.
    Jeremy.

-----------------------------------------------------------------------

Summary of changes:
 source/modules/vfs_acl_xattr.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/modules/vfs_acl_xattr.c b/source/modules/vfs_acl_xattr.c
index 03cf94e..f390786 100644
--- a/source/modules/vfs_acl_xattr.c
+++ b/source/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(


-- 
Samba Shared Repository


More information about the samba-cvs mailing list