summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-05-24 17:47:49 +0000
committerLuke Leighton <lkcl@samba.org>1998-05-24 17:47:49 +0000
commiteb157d6da4719b415a1f5202364aa77f2596bc03 (patch)
tree56d6bf30688a414a55fa8d61e168957f307d0963 /source
parentbd825f1ef15c4bf12aeba945f8bfdc7fd0e14d25 (diff)
downloadsamba-eb157d6da4719b415a1f5202364aa77f2596bc03.tar.gz
samba-eb157d6da4719b415a1f5202364aa77f2596bc03.tar.xz
samba-eb157d6da4719b415a1f5202364aa77f2596bc03.zip
more warnings, from Tim Winders
Diffstat (limited to 'source')
-rw-r--r--source/lsarpcd/srv_lsa.c2
-rw-r--r--source/rpc_server/srv_lsa.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/lsarpcd/srv_lsa.c b/source/lsarpcd/srv_lsa.c
index ff4b6bf4b63..e723b532b10 100644
--- a/source/lsarpcd/srv_lsa.c
+++ b/source/lsarpcd/srv_lsa.c
@@ -39,7 +39,7 @@ static void lsa_reply_open_policy(prs_struct *rdata)
LSA_R_OPEN_POL r_o;
/* set up the LSA QUERY INFO response */
- bzero(&(r_o.pol.data), POL_HND_SIZE);
+ bzero(r_o.pol.data, POL_HND_SIZE);
for (i = 4; i < POL_HND_SIZE; i++)
{
r_o.pol.data[i] = i;
diff --git a/source/rpc_server/srv_lsa.c b/source/rpc_server/srv_lsa.c
index ff4b6bf4b63..e723b532b10 100644
--- a/source/rpc_server/srv_lsa.c
+++ b/source/rpc_server/srv_lsa.c
@@ -39,7 +39,7 @@ static void lsa_reply_open_policy(prs_struct *rdata)
LSA_R_OPEN_POL r_o;
/* set up the LSA QUERY INFO response */
- bzero(&(r_o.pol.data), POL_HND_SIZE);
+ bzero(r_o.pol.data, POL_HND_SIZE);
for (i = 4; i < POL_HND_SIZE; i++)
{
r_o.pol.data[i] = i;