diff options
author | Volker Lendecke <vl@samba.org> | 2010-08-08 10:14:01 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-08-08 14:06:11 +0200 |
commit | 43c2dcaf4caa8b0ff471bcceaf4141ddcd78faee (patch) | |
tree | 98b1b541dd92ad5d3146cf5f27a8c998fba462fe /source3/rpc_server | |
parent | ad94ae980462dc4c581a2fa1d7e927c2ae625c19 (diff) | |
download | samba-43c2dcaf4caa8b0ff471bcceaf4141ddcd78faee.tar.gz samba-43c2dcaf4caa8b0ff471bcceaf4141ddcd78faee.tar.bz2 samba-43c2dcaf4caa8b0ff471bcceaf4141ddcd78faee.zip |
s3: Fix a type-punned warning
Diffstat (limited to 'source3/rpc_server')
-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; |