diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-08-26 22:35:09 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-08-27 19:11:44 +0200 |
commit | 4def6775b56242590b4f7d9cb0f5b0442e33248f (patch) | |
tree | 1611cf4693bba336fa8d5de12f6bf0d51e2c4414 /source4/ntvfs/posix/pvfs_acl_xattr.c | |
parent | e4afcd62bccf04f2afc779d7292f49e10c29b970 (diff) | |
download | samba-4def6775b56242590b4f7d9cb0f5b0442e33248f.tar.gz samba-4def6775b56242590b4f7d9cb0f5b0442e33248f.tar.bz2 samba-4def6775b56242590b4f7d9cb0f5b0442e33248f.zip |
s4:ntvfs/posix/pvfs_*.c - quiet Solaris warnings
Fix the function argument of "pvfs_xattr_ndr_load/save".
Diffstat (limited to 'source4/ntvfs/posix/pvfs_acl_xattr.c')
-rw-r--r-- | source4/ntvfs/posix/pvfs_acl_xattr.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source4/ntvfs/posix/pvfs_acl_xattr.c b/source4/ntvfs/posix/pvfs_acl_xattr.c index 87bb6bcb94..dbeee829ed 100644 --- a/source4/ntvfs/posix/pvfs_acl_xattr.c +++ b/source4/ntvfs/posix/pvfs_acl_xattr.c @@ -43,8 +43,7 @@ static NTSTATUS pvfs_acl_load_xattr(struct pvfs_state *pvfs, struct pvfs_filenam status = pvfs_xattr_ndr_load(pvfs, mem_ctx, name->full_name, fd, XATTR_NTACL_NAME, - acl, - (ndr_pull_flags_fn_t)ndr_pull_xattr_NTACL); + acl, (void *) ndr_pull_xattr_NTACL); if (!NT_STATUS_IS_OK(status)) { talloc_free(acl); @@ -83,8 +82,7 @@ static NTSTATUS pvfs_acl_save_xattr(struct pvfs_state *pvfs, struct pvfs_filenam privs = root_privileges(); status = pvfs_xattr_ndr_save(pvfs, name->full_name, fd, XATTR_NTACL_NAME, - &acl, - (ndr_push_flags_fn_t)ndr_push_xattr_NTACL); + &acl, (void *) ndr_push_xattr_NTACL); talloc_free(privs); return status; } |