summaryrefslogtreecommitdiff
path: root/server/nss/nsssrv_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'server/nss/nsssrv_cmd.c')
-rw-r--r--server/nss/nsssrv_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/nss/nsssrv_cmd.c b/server/nss/nsssrv_cmd.c
index ef803cf5..dd750c28 100644
--- a/server/nss/nsssrv_cmd.c
+++ b/server/nss/nsssrv_cmd.c
@@ -106,7 +106,7 @@ static int nss_check_domain(struct ldb_dn *dn,
key = "LOCAL";
}
- basedn = btreemap_get_value(domain_map, (void *)key);
+ basedn = btreemap_get_value(domain_map, key);
if (!basedn) {
DEBUG(4, ("Domain (%s) not found in map!\n", domain));
return EINVAL;