summaryrefslogtreecommitdiff
path: root/source4/cldap_server
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-03-15 10:28:35 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:57:25 -0500
commited1fbaee10e6acfde5525715bd4776f0464d7f24 (patch)
tree558f65585b70ff8fefd98fe9fb69dc184aa3e34a /source4/cldap_server
parent568e77ed23c64b70142317320ebde2c36e976d94 (diff)
downloadsamba-ed1fbaee10e6acfde5525715bd4776f0464d7f24.tar.gz
samba-ed1fbaee10e6acfde5525715bd4776f0464d7f24.tar.bz2
samba-ed1fbaee10e6acfde5525715bd4776f0464d7f24.zip
r14439: fix warnings
metze (This used to be commit 3b712b70f05f2c41ce3cdfc295488a189a971bce)
Diffstat (limited to 'source4/cldap_server')
-rw-r--r--source4/cldap_server/netlogon.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/cldap_server/netlogon.c b/source4/cldap_server/netlogon.c
index 45a6930451..d2a9390a60 100644
--- a/source4/cldap_server/netlogon.c
+++ b/source4/cldap_server/netlogon.c
@@ -220,12 +220,12 @@ void cldapd_netlogon_request(struct cldap_socket *cldap,
if (t->operation != LDB_OP_EQUALITY) goto failed;
if (strcasecmp(t->u.equality.attr, "DnsDomain") == 0) {
domain = talloc_strndup(tmp_ctx,
- t->u.equality.value.data,
+ (const char *)t->u.equality.value.data,
t->u.equality.value.length);
}
if (strcasecmp(t->u.equality.attr, "Host") == 0) {
host = talloc_strndup(tmp_ctx,
- t->u.equality.value.data,
+ (const char *)t->u.equality.value.data,
t->u.equality.value.length);
}
if (strcasecmp(t->u.equality.attr, "DomainGuid") == 0) {
@@ -239,12 +239,12 @@ void cldapd_netlogon_request(struct cldap_socket *cldap,
}
if (strcasecmp(t->u.equality.attr, "DomainSid") == 0) {
domain_sid = talloc_strndup(tmp_ctx,
- t->u.equality.value.data,
+ (const char *)t->u.equality.value.data,
t->u.equality.value.length);
}
if (strcasecmp(t->u.equality.attr, "User") == 0) {
user = talloc_strndup(tmp_ctx,
- t->u.equality.value.data,
+ (const char *)t->u.equality.value.data,
t->u.equality.value.length);
}
if (strcasecmp(t->u.equality.attr, "NtVer") == 0 &&