diff options
Diffstat (limited to 'source3/rpc_server/srv_spoolss_nt.c')
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |