summaryrefslogtreecommitdiff
path: root/source3/rpc_client/cli_lsarpc.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-10-25 19:03:27 +0000
committerLuke Leighton <lkcl@samba.org>1999-10-25 19:03:27 +0000
commit56128244261f8e4c6e1144da66c736fbc2104665 (patch)
tree232c98fb3cd975522fa341af724bf1d05b16cae1 /source3/rpc_client/cli_lsarpc.c
parentfdf6383cbec457e3e38b50bcc801661767fa4c0d (diff)
downloadsamba-56128244261f8e4c6e1144da66c736fbc2104665.tar.gz
samba-56128244261f8e4c6e1144da66c736fbc2104665.tar.bz2
samba-56128244261f8e4c6e1144da66c736fbc2104665.zip
- typecast malloc / Realloc issues.
- signed / unsigned issues. (This used to be commit c8fd555179314baf1672a23db34dc8ad9f2d02bf)
Diffstat (limited to 'source3/rpc_client/cli_lsarpc.c')
-rw-r--r--source3/rpc_client/cli_lsarpc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/rpc_client/cli_lsarpc.c b/source3/rpc_client/cli_lsarpc.c
index 0c65231cef..2ceb34aad7 100644
--- a/source3/rpc_client/cli_lsarpc.c
+++ b/source3/rpc_client/cli_lsarpc.c
@@ -282,7 +282,7 @@ BOOL lsa_lookup_names(struct cli_state *cli, uint16 fnum,
}
if (valid_response)
{
- int i;
+ uint32 i;
for (i = 0; i < r_l.num_entries; i++)
{
if (t_rids[i].rid_idx >= ref.num_ref_doms_1 &&
@@ -428,7 +428,7 @@ BOOL lsa_lookup_sids(struct cli_state *cli, uint16 fnum,
}
if (valid_response)
{
- int i;
+ uint32 i;
for (i = 0; i < t_names.num_entries; i++)
{
if (t_names.name[i].domain_idx >= ref.num_ref_doms_1)
@@ -648,7 +648,7 @@ BOOL lsa_close(struct cli_state *cli, uint16 fnum, POLICY_HND *hnd)
if (p)
{
/* check that the returned policy handle is all zeros */
- int i;
+ uint32 i;
valid_close = True;
for (i = 0; i < sizeof(r_c.pol.data); i++)