diff options
author | Luke Leighton <lkcl@samba.org> | 1998-05-24 17:47:49 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1998-05-24 17:47:49 +0000 |
commit | eb157d6da4719b415a1f5202364aa77f2596bc03 (patch) | |
tree | 56d6bf30688a414a55fa8d61e168957f307d0963 /source | |
parent | bd825f1ef15c4bf12aeba945f8bfdc7fd0e14d25 (diff) | |
download | samba-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.c | 2 | ||||
-rw-r--r-- | source/rpc_server/srv_lsa.c | 2 |
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; |