From c05802f5a0f854377a3136e0709b2f79b4f20254 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 29 May 2011 09:20:49 +0200 Subject: s3: Fix a type-punned warning --- source3/auth/auth_server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/auth') 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; } -- cgit