diff options
Diffstat (limited to 'source3/smbd/filename.c')
-rw-r--r-- | source3/smbd/filename.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c index 08bc79dfd2..f09dd12013 100644 --- a/source3/smbd/filename.c +++ b/source3/smbd/filename.c @@ -167,7 +167,7 @@ static NTSTATUS check_parent_exists(TALLOC_CTX *ctx, * here as last_component points * into our smb_fname->base_name. */ - *pp_start = CONST_DISCARD(char *,last_component); + *pp_start = discard_const_p(char, last_component); /* Update dirpath. */ TALLOC_FREE(*pp_dirpath); |