From 6a19bf582f2ebe6bab015f37aca98eade239db61 Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Sun, 24 May 1998 17:47:49 +0000 Subject: more warnings, from Tim Winders (This used to be commit eb157d6da4719b415a1f5202364aa77f2596bc03) --- source3/lsarpcd/srv_lsa.c | 2 +- source3/rpc_server/srv_lsa.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/lsarpcd/srv_lsa.c b/source3/lsarpcd/srv_lsa.c index ff4b6bf4b6..e723b532b1 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 ff4b6bf4b6..e723b532b1 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; -- cgit