diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-02-05 18:18:09 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-02-05 18:18:09 +0100 |
commit | 40c3ab2fbc39e2fcd2e6713ecb08fe7b5b61ba17 (patch) | |
tree | 1ca6c56aac0b40fc23cb375a179eb8a7d19da774 | |
parent | e5a6eadd8214b56da34f733318a0fecaebbe5ef5 (diff) | |
download | samba-40c3ab2fbc39e2fcd2e6713ecb08fe7b5b61ba17.tar.gz samba-40c3ab2fbc39e2fcd2e6713ecb08fe7b5b61ba17.tar.bz2 samba-40c3ab2fbc39e2fcd2e6713ecb08fe7b5b61ba17.zip |
s4:auth/ntlm: fix c++ warning
metze
-rw-r--r-- | source4/auth/ntlm/auth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/ntlm/auth.c b/source4/auth/ntlm/auth.c index d00c81206a..20967a6bda 100644 --- a/source4/auth/ntlm/auth.c +++ b/source4/auth/ntlm/auth.c @@ -462,7 +462,7 @@ _PUBLIC_ NTSTATUS auth_register(const struct auth_operations *ops) struct auth_backend, num_backends+1); NT_STATUS_HAVE_NO_MEMORY(backends); - new_ops = talloc_memdup(backends, ops, sizeof(*ops)); + new_ops = (struct auth_operations *)talloc_memdup(backends, ops, sizeof(*ops)); NT_STATUS_HAVE_NO_MEMORY(new_ops); new_ops->name = talloc_strdup(new_ops, ops->name); NT_STATUS_HAVE_NO_MEMORY(new_ops->name); |