summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/winbindd/idmap.c4
1 files changed, 2 insertions, 2 deletions
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;