summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-05-29 17:57:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:22:54 -0500
commitd807dec0f465c8735bd4964b196ff6109d8df408 (patch)
tree47bbaac7db6f685dc634d85a4e2458b44d485da4 /source3/rpc_client
parentd8e454664a97385d798ad53633856044f928a491 (diff)
downloadsamba-d807dec0f465c8735bd4964b196ff6109d8df408.tar.gz
samba-d807dec0f465c8735bd4964b196ff6109d8df408.tar.bz2
samba-d807dec0f465c8735bd4964b196ff6109d8df408.zip
r23219: Two warnings
(This used to be commit eccd50abdaed3e4e06cc5da5473ca1beeb3fc49a)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_netlogon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/rpc_client/cli_netlogon.c b/source3/rpc_client/cli_netlogon.c
index f155c736e9..1123daaeec 100644
--- a/source3/rpc_client/cli_netlogon.c
+++ b/source3/rpc_client/cli_netlogon.c
@@ -501,7 +501,8 @@ static WERROR pull_domain_controller_info_from_getdcname_reply(TALLOC_CTX *mem_c
info->domain_controller_address_type = r->dc_address_type;
- info->domain_guid = talloc_memdup(mem_ctx, &r->domain_guid, sizeof(struct GUID));
+ info->domain_guid = (struct GUID *)talloc_memdup(
+ mem_ctx, &r->domain_guid, sizeof(struct GUID));
if (!info->domain_guid) {
return WERR_GENERAL_FAILURE;
}