[SCM] Samba Shared Repository - branch master updated - 859facda89ff3589e87c4cbe1708578769d7c535

Jeremy Allison jra at samba.org
Wed Oct 8 00:57:21 GMT 2008


The branch, master has been updated
       via  859facda89ff3589e87c4cbe1708578769d7c535 (commit)
      from  ec5d09dbff94d909f5ef65fb30165672947455b8 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 859facda89ff3589e87c4cbe1708578769d7c535
Author: Jeremy Allison <jra at samba.org>
Date:   Tue Oct 7 17:56:32 2008 -0700

    Fix const warning.
    Jeremy.

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

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


Changeset truncated at 500 lines:

diff --git a/source3/modules/vfs_acl_xattr.c b/source3/modules/vfs_acl_xattr.c
index 2b3fc2e..4a8f6fe 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(


-- 
Samba Shared Repository


More information about the samba-cvs mailing list