diff options
author | Luke Leighton <lkcl@samba.org> | 1998-05-21 12:18:52 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1998-05-21 12:18:52 +0000 |
commit | cf76b415a34534f574664e1fc1f8f1f8e6511c95 (patch) | |
tree | fcf6e24873ec1960a4acca86dcfbaa05fe2fdc72 /source3/rpc_server | |
parent | 1defdd071827e015c6f32ff16ac3ec312264aede (diff) | |
download | samba-cf76b415a34534f574664e1fc1f8f1f8e6511c95.tar.gz samba-cf76b415a34534f574664e1fc1f8f1f8e6511c95.tar.xz samba-cf76b415a34534f574664e1fc1f8f1f8e6511c95.zip |
fixed signed / unsigned warnings spotted by tim winders. also fixed
unnecessary "address of" warnings.
(This used to be commit ed0afe1e186ce53046e70d8a92103d4f59a2eed2)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_samr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/rpc_server/srv_samr.c b/source3/rpc_server/srv_samr.c index d1503a762ed..d0304d0dd6a 100644 --- a/source3/rpc_server/srv_samr.c +++ b/source3/rpc_server/srv_samr.c @@ -107,7 +107,7 @@ static void samr_reply_close_hnd(SAMR_Q_CLOSE_HND *q_u, SAMR_R_CLOSE_HND r_u; /* set up the SAMR unknown_1 response */ - bzero(&(r_u.pol.data), POL_HND_SIZE); + bzero(r_u.pol.data, POL_HND_SIZE); /* close the policy handle */ if (close_lsa_policy_hnd(&(q_u->pol))) @@ -795,7 +795,7 @@ static void samr_reply_open_user(SAMR_Q_OPEN_USER *q_u, BOOL pol_open = False; /* set up the SAMR open_user response */ - bzero(&(r_u.user_pol.data), POL_HND_SIZE); + bzero(r_u.user_pol.data, POL_HND_SIZE); r_u.status = 0x0; @@ -1105,7 +1105,7 @@ static void samr_reply_unknown_32(SAMR_Q_UNKNOWN_32 *q_u, SAMR_R_UNKNOWN_32 r_u; /* set up the SAMR unknown_32 response */ - bzero(&(r_u.pol.data), POL_HND_SIZE); + bzero(r_u.pol.data, POL_HND_SIZE); if (status == 0) { for (i = 4; i < POL_HND_SIZE; i++) |