From 43c2dcaf4caa8b0ff471bcceaf4141ddcd78faee Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 8 Aug 2010 10:14:01 +0200 Subject: s3: Fix a type-punned warning --- source3/rpc_server/srv_spoolss_nt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index 5a25a2c3fa..71df106a13 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -2228,7 +2228,7 @@ static bool spoolss_connect_to_client(struct rpc_pipe_client **pp_pipe, addr)); } - if (ismyaddr((struct sockaddr *)&rm_addr)) { + if (ismyaddr((struct sockaddr *)(void *)&rm_addr)) { DEBUG(0,("spoolss_connect_to_client: Machine %s is one of our addresses. Cannot add to ourselves.\n", addr)); return false; -- cgit