summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-08 10:14:01 +0200
committerVolker Lendecke <vl@samba.org>2010-08-08 14:06:11 +0200
commit43c2dcaf4caa8b0ff471bcceaf4141ddcd78faee (patch)
tree98b1b541dd92ad5d3146cf5f27a8c998fba462fe
parentad94ae980462dc4c581a2fa1d7e927c2ae625c19 (diff)
downloadsamba-43c2dcaf4caa8b0ff471bcceaf4141ddcd78faee.tar.gz
samba-43c2dcaf4caa8b0ff471bcceaf4141ddcd78faee.tar.bz2
samba-43c2dcaf4caa8b0ff471bcceaf4141ddcd78faee.zip
s3: Fix a type-punned warning
-rw-r--r--source3/rpc_server/srv_spoolss_nt.c2
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;