summaryrefslogtreecommitdiff
path: root/lib/util/util_strlist.c
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-09-10 22:05:49 +0200
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-09-10 22:07:47 +0200
commit41596d2c434b9d3f0c7719d716f865f7b40fff9d (patch)
tree8df921429dfc7d46257847d02c5902e8c6ae57c3 /lib/util/util_strlist.c
parent7669bc3c89898c585a65547b246981ddcd0f49dc (diff)
downloadsamba-41596d2c434b9d3f0c7719d716f865f7b40fff9d.tar.gz
samba-41596d2c434b9d3f0c7719d716f865f7b40fff9d.tar.bz2
samba-41596d2c434b9d3f0c7719d716f865f7b40fff9d.zip
util_strlist: Add some more "const"s - small correction
Diffstat (limited to 'lib/util/util_strlist.c')
-rw-r--r--lib/util/util_strlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/util_strlist.c b/lib/util/util_strlist.c
index c2c9e4f9e7..b4b991f3db 100644
--- 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;
}