diff options
author | Jeremy Allison <jra@samba.org> | 2011-05-05 13:42:05 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-05-05 23:56:07 +0200 |
commit | e131c94ac1b06cc49b1c25717d3496dba8b0b3df (patch) | |
tree | b5aea6c90a1d73c3688591a54d3a92773c95a4e7 /source3/libgpo | |
parent | 38492b16fee29f31b324ec459069470e977a2359 (diff) | |
download | samba-e131c94ac1b06cc49b1c25717d3496dba8b0b3df.tar.gz samba-e131c94ac1b06cc49b1c25717d3496dba8b0b3df.tar.bz2 samba-e131c94ac1b06cc49b1c25717d3496dba8b0b3df.zip |
More const fixes for compiler warnings from the waf build.
Diffstat (limited to 'source3/libgpo')
-rw-r--r-- | source3/libgpo/gpo_filesync.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libgpo/gpo_filesync.c b/source3/libgpo/gpo_filesync.c index e3d3ae6c04..be656eea7e 100644 --- a/source3/libgpo/gpo_filesync.c +++ b/source3/libgpo/gpo_filesync.c @@ -226,8 +226,8 @@ NTSTATUS gpo_sync_directories(TALLOC_CTX *mem_ctx, ctx.mem_ctx = mem_ctx; ctx.cli = cli; - ctx.remote_path = CONST_DISCARD(char *, nt_path); - ctx.local_path = CONST_DISCARD(char *, local_path); + ctx.remote_path = discard_const_p(char, nt_path); + ctx.local_path = discard_const_p(char, local_path); ctx.attribute = (FILE_ATTRIBUTE_SYSTEM | FILE_ATTRIBUTE_HIDDEN | FILE_ATTRIBUTE_DIRECTORY); ctx.mask = talloc_asprintf(mem_ctx, |