summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-07-04 16:09:09 +0200
committerVolker Lendecke <vl@samba.org>2010-07-04 16:41:14 +0200
commitb3194be286a6af28044375e893cfa0b095dba6e6 (patch)
tree9e153217e848b9ac11fea8330e052bc042b74147 /source3/smbd
parenteb50f77154e23b9dc231926d5a0af07dd7761bc4 (diff)
downloadsamba-b3194be286a6af28044375e893cfa0b095dba6e6.tar.gz
samba-b3194be286a6af28044375e893cfa0b095dba6e6.tar.bz2
samba-b3194be286a6af28044375e893cfa0b095dba6e6.zip
s3: Fix some type-punned warnings
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 65db77c0b9..a1250790ce 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -355,7 +355,7 @@ static void smbd_accept_connection(struct tevent_context *ev,
pid_t pid = 0;
uint64_t unique_id;
- smbd_set_server_fd(accept(s->fd,(struct sockaddr *)&addr,&in_addrlen));
+ smbd_set_server_fd(accept(s->fd, (struct sockaddr *)(void *)&addr,&in_addrlen));
if (smbd_server_fd() == -1 && errno == EINTR)
return;