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
util_strlist: Add some more "const"s - small correction
[ira/wip.git]
/
lib
/
util
/
util_strlist.c
diff --git
a/lib/util/util_strlist.c
b/lib/util/util_strlist.c
index c2c9e4f9e7df629c325b411aa594a1aa4ed5e714..b4b991f3db172ae0370ea7c9e255286a843aaa43 100644
(file)
--- a/
lib/util/util_strlist.c
+++ b/
lib/util/util_strlist.c
@@
-35,7
+35,7
@@
_PUBLIC_ const char **str_list_make_empty(TALLOC_CTX *mem_ctx)
{
const char **ret = NULL;
- ret =
(const char **) talloc_array(mem_ctx,
char *, 1);
+ ret =
talloc_array(mem_ctx, const
char *, 1);
if (ret == NULL) {
return NULL;
}