git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib/util: fix const warnings
[sfrench/samba-autobuild/.git]
/
lib
/
util
/
util_strlist.c
diff --git
a/lib/util/util_strlist.c
b/lib/util/util_strlist.c
index e8d2a74221803d92fdbbd47c461db342e1dde97a..8397589d747282e3f0b3bd4ea37190aec883c2f0 100644
(file)
--- a/
lib/util/util_strlist.c
+++ b/
lib/util/util_strlist.c
@@
-519,6
+519,6
@@
_PUBLIC_ const char **str_list_copy_const(TALLOC_CTX *mem_ctx,
*/
_PUBLIC_ const char **const_str_list(char **list)
{
- return
(const char **)list
;
+ return
discard_const_p(const char *, list)
;
}