summaryrefslogtreecommitdiffstats
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
commit6a19bf582f2ebe6bab015f37aca98eade239db61 (patch)
tree710bd1e704de06fcdc8d413ed6c792caa5642723
parent684edc9fcd73d9c2059d018c4b5eb599888cfd8b (diff)
downloadsamba-6a19bf582f2ebe6bab015f37aca98eade239db61.tar.gz
samba-6a19bf582f2ebe6bab015f37aca98eade239db61.tar.xz
samba-6a19bf582f2ebe6bab015f37aca98eade239db61.zip
more warnings, from Tim Winders
(This used to be commit eb157d6da4719b415a1f5202364aa77f2596bc03)
-rw-r--r--source3/lsarpcd/srv_lsa.c2
-rw-r--r--source3/rpc_server/srv_lsa.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/lsarpcd/srv_lsa.c b/source3/lsarpcd/srv_lsa.c
index ff4b6bf4b63..e723b532b10 100644
--- a/source3/lsarpcd/srv_lsa.c
+++ b/source3/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/source3/rpc_server/srv_lsa.c b/source3/rpc_server/srv_lsa.c
index ff4b6bf4b63..e723b532b10 100644
--- a/source3/rpc_server/srv_lsa.c
+++ b/source3/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;