summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-05-29 09:20:49 +0200
committerVolker Lendecke <vl@samba.org>2011-05-29 12:49:34 +0200
commitc05802f5a0f854377a3136e0709b2f79b4f20254 (patch)
tree127029372140f4ec332010e3e1af40e7b58cebf1
parenta036dcd8f0551a5eda013b1371f95f0b8b93c409 (diff)
downloadsamba-c05802f5a0f854377a3136e0709b2f79b4f20254.tar.gz
samba-c05802f5a0f854377a3136e0709b2f79b4f20254.tar.bz2
samba-c05802f5a0f854377a3136e0709b2f79b4f20254.zip
s3: Fix a type-punned warning
-rw-r--r--source3/auth/auth_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/auth/auth_server.c b/source3/auth/auth_server.c
index 46905c0a5b..c7bdf0d8ec 100644
--- a/source3/auth/auth_server.c
+++ b/source3/auth/auth_server.c
@@ -75,7 +75,7 @@ static struct cli_state *server_cryptkey(TALLOC_CTX *mem_ctx)
continue;
}
- if (ismyaddr((struct sockaddr *)&dest_ss)) {
+ if (ismyaddr((struct sockaddr *)(void *)&dest_ss)) {
DEBUG(1,("Password server loop - disabling password server %s\n",desthost));
continue;
}