summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}