git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5a6ead
)
s4:auth/ntlm: fix c++ warning
author
Stefan Metzmacher
<metze@samba.org>
Thu, 5 Feb 2009 17:18:09 +0000
(18:18 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Thu, 5 Feb 2009 17:18:09 +0000
(18:18 +0100)
metze
source4/auth/ntlm/auth.c
patch
|
blob
|
history
diff --git
a/source4/auth/ntlm/auth.c
b/source4/auth/ntlm/auth.c
index d00c81206afab91ad60d733334760ee2bd81435f..20967a6bda3cc6ae0f49c7991e1c372d4faad441 100644
(file)
--- 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);