From 41596d2c434b9d3f0c7719d716f865f7b40fff9d Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Thu, 10 Sep 2009 22:05:49 +0200 Subject: util_strlist: Add some more "const"s - small correction --- lib/util/util_strlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/util') 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; } -- cgit