diff options
author | Jeremy Allison <jra@samba.org> | 2011-05-05 10:41:59 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-05-05 10:41:59 -0700 |
commit | 4f41be356a4e6b311d30de3b2e36e4c33aa72ca3 (patch) | |
tree | 91adb9035c762c36a6cb24f242c11408779bd3f7 /source3/smbd/vfs.c | |
parent | 10a628b6e181af07f0c43db36ba017411b4eaaaa (diff) | |
download | samba-4f41be356a4e6b311d30de3b2e36e4c33aa72ca3.tar.gz samba-4f41be356a4e6b311d30de3b2e36e4c33aa72ca3.tar.xz samba-4f41be356a4e6b311d30de3b2e36e4c33aa72ca3.zip |
Fix many const compiler warnings.
Diffstat (limited to 'source3/smbd/vfs.c')
-rw-r--r-- | source3/smbd/vfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c index 3bde0a388e..e6ea34bd18 100644 --- a/source3/smbd/vfs.c +++ b/source3/smbd/vfs.c @@ -1506,7 +1506,7 @@ NTSTATUS vfs_chown_fsp(files_struct *fsp, uid_t uid, gid_t gid) } ZERO_STRUCT(local_fname); - local_fname.base_name = CONST_DISCARD(char *,final_component); + local_fname.base_name = discard_const_p(char, final_component); /* Must use lstat here. */ ret = SMB_VFS_LSTAT(fsp->conn, &local_fname); |