diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-03-15 10:28:35 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:57:25 -0500 |
commit | 3b712b70f05f2c41ce3cdfc295488a189a971bce (patch) | |
tree | e953f9a07d34556cedf8d0dcca164b2dac95e6a7 | |
parent | 83d2978da1fbf756a665afc2e8120436dc45ec56 (diff) | |
download | samba-3b712b70f05f2c41ce3cdfc295488a189a971bce.tar.gz |
r14439: fix warnings
metze
-rw-r--r-- | source/cldap_server/netlogon.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/cldap_server/netlogon.c b/source/cldap_server/netlogon.c index 45a69304517..d2a9390a609 100644 --- a/source/cldap_server/netlogon.c +++ b/source/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 && |