From 8f391ae47176f1acaef2e1f448b1c0168a069cf9 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 19 Oct 2007 23:21:01 +0200 Subject: Fix an incompatible pointer type warning (This used to be commit 3c50caa9620899f982cd4a833356d965f47ec843) --- source3/winbindd/idmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/winbindd') diff --git a/source3/winbindd/idmap.c b/source3/winbindd/idmap.c index 9800e32505..e89ad735b6 100644 --- a/source3/winbindd/idmap.c +++ b/source3/winbindd/idmap.c @@ -362,9 +362,9 @@ NTSTATUS idmap_init(void) if ( ! dom_list) { /* generate a list with our main domain */ - char ** dl; + const char ** dl; - dl = talloc_array(idmap_ctx, char *, 2); + dl = talloc_array(idmap_ctx, const char *, 2); if (dl == NULL) { ret = NT_STATUS_NO_MEMORY; goto done; -- cgit