summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2008-01-28 16:52:37 +0100
committerKai Blin <kai@samba.org>2008-01-28 16:52:37 +0100
commit2c01540a763f19c2d4c658607efb16285a1e25a5 (patch)
tree876d15cde3e246cf3107aaf52f0200d9eaf1c85f
parentf04810e9f216ad43b45b69e6e0c6792cc93076a1 (diff)
downloadsamba-2c01540a763f19c2d4c658607efb16285a1e25a5.tar.gz
idmap: Fix an incompatible pointer type warning.
Thanks to Simo for pointing me at the easier solution
-rw-r--r--source/nsswitch/idmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/nsswitch/idmap.c b/source/nsswitch/idmap.c
index 676ab6eb53a..49ed62bfef1 100644
--- a/source/nsswitch/idmap.c
+++ b/source/nsswitch/idmap.c
@@ -367,7 +367,7 @@ NTSTATUS idmap_init(void)
/* terminate */
dl[1] = NULL;
- dom_list = dl;
+ dom_list = (const char **)dl;
default_domain = dl[0];
}