summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-11-25 19:59:08 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:06:09 -0500
commit5cbc9574a6e36229875d552cccc3009d38f1b07f (patch)
tree1443ed4759631ed2eea41f514259b11130471c9a
parentdaea5e8c8c6cf83af0a41e858be571886fae7218 (diff)
downloadsamba-5cbc9574a6e36229875d552cccc3009d38f1b07f.tar.gz
samba-5cbc9574a6e36229875d552cccc3009d38f1b07f.tar.bz2
samba-5cbc9574a6e36229875d552cccc3009d38f1b07f.zip
r3970: fix compiler warning
metze (This used to be commit 1f03d797129c87f231a4f464432475a5c2f91d35)
-rw-r--r--source4/auth/auth_winbind.c2
1 files changed, 1 insertions, 1 deletions
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);