git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix many const compiler warnings.
[ira/wip.git]
/
source3
/
smbd
/
filename.c
diff --git
a/source3/smbd/filename.c
b/source3/smbd/filename.c
index 08bc79dfd2273a7b0012e0620371a90588cd3d6e..f09dd12013b45aca0d74f624480678dbdc4e590a 100644
(file)
--- 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);