diff options
author | Tim Prouty <tprouty@samba.org> | 2008-10-23 16:35:53 -0700 |
---|---|---|
committer | Tim Prouty <tprouty@samba.org> | 2008-10-23 16:38:19 -0700 |
commit | 0058176ae32eff7acb07c013d48cca294bd4bf82 (patch) | |
tree | b8bdb86fd6582b58a59c0c4c52e2368dc6b1aacc | |
parent | 1b42152454279d0df1a1e0aba0aac807abcea7ab (diff) | |
download | samba-0058176ae32eff7acb07c013d48cca294bd4bf82.tar.gz samba-0058176ae32eff7acb07c013d48cca294bd4bf82.tar.bz2 samba-0058176ae32eff7acb07c013d48cca294bd4bf82.zip |
s3: fix simple "incompatible pointer type" build warning
-rw-r--r-- | source3/winbindd/winbindd_cm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c index 05c39f8f2b..9268542da6 100644 --- a/source3/winbindd/winbindd_cm.c +++ b/source3/winbindd/winbindd_cm.c @@ -1064,7 +1064,7 @@ static bool add_sockaddr_to_array(TALLOC_CTX *mem_ctx, } (*addrs)[*num] = *pss; - set_sockaddr_port(&(*addrs)[*num], port); + set_sockaddr_port((struct sockaddr *)&(*addrs)[*num], port); *num += 1; return True; |