From 5cbc9574a6e36229875d552cccc3009d38f1b07f Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 25 Nov 2004 19:59:08 +0000 Subject: r3970: fix compiler warning metze (This used to be commit 1f03d797129c87f231a4f464432475a5c2f91d35) --- source4/auth/auth_winbind.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/auth/auth_winbind.c') diff --git a/source4/auth/auth_winbind.c b/source4/auth/auth_winbind.c index 6607295033..19c76595d3 100644 --- a/source4/auth/auth_winbind.c +++ b/source4/auth/auth_winbind.c @@ -35,7 +35,7 @@ static NTSTATUS get_info3_from_ndr(TALLOC_CTX *mem_ctx, struct winbindd_response NTSTATUS status; DATA_BLOB blob; blob.length = len - 4; - blob.data = ((char *)response->extra_data) + 4; + blob.data = (void *)(((char *)response->extra_data) + 4); status = ndr_pull_struct_blob(&blob, mem_ctx, info3, (ndr_pull_flags_fn_t)ndr_pull_netr_SamInfo3); -- cgit