git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
420de03
)
Fix a C++ warning
author
Volker Lendecke
<vl@samba.org>
Mon, 5 May 2008 15:24:17 +0000
(17:24 +0200)
committer
Volker Lendecke
<vl@samba.org>
Mon, 5 May 2008 16:28:59 +0000
(18:28 +0200)
source/libsmb/clidgram.c
patch
|
blob
|
history
diff --git
a/source/libsmb/clidgram.c
b/source/libsmb/clidgram.c
index fba009d4278283c547b1801096602f8e91a00967..1d3293c60f0d6ba84eb8a7e4ff94ff1685a9a8c7 100644
(file)
--- a/
source/libsmb/clidgram.c
+++ b/
source/libsmb/clidgram.c
@@
-301,8
+301,8
@@
bool receive_getdc_response(TALLOC_CTX *mem_ctx,
if (**dc_name == '\\') *dc_name += 1;
if (reply) {
- *reply =
talloc_memdup(mem_ctx, &r,
- sizeof(struct nbt_ntlogon_packet));
+ *reply =
(struct nbt_ntlogon_packet *)talloc_memdup(
+
mem_ctx, &r,
sizeof(struct nbt_ntlogon_packet));
if (!*reply) {
return false;
}