From 41596d2c434b9d3f0c7719d716f865f7b40fff9d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Matthias=20Dieter=20Walln=C3=B6fer?= Date: Thu, 10 Sep 2009 22:05:49 +0200 Subject: [PATCH] util_strlist: Add some more "const"s - small correction --- lib/util/util_strlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util/util_strlist.c b/lib/util/util_strlist.c index c2c9e4f9e7d..b4b991f3db1 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; } -- 2.11.4.GIT