summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-02-16 19:46:42 +0000
committerTim Potter <tpot@samba.org>2002-02-16 19:46:42 +0000
commit562f73d5817b88f7a83d63a4583dd4f6535a9849 (patch)
tree89e0c19c11542b2dbb7365b417851872378d2462 /source3
parent1eb1433cf32d174ac411d25f2a98018163bfca6d (diff)
downloadsamba-562f73d5817b88f7a83d63a4583dd4f6535a9849.tar.gz
samba-562f73d5817b88f7a83d63a4583dd4f6535a9849.tar.bz2
samba-562f73d5817b88f7a83d63a4583dd4f6535a9849.zip
int -> uint32 fixes from andreas
(This used to be commit 84c811ca57f7e1b7d9ee498d95b3b21bea47eb5e)
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/smbcacls.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/utils/smbcacls.c b/source3/utils/smbcacls.c
index 38807b43f0..8c0b2a4a72 100644
--- a/source3/utils/smbcacls.c
+++ b/source3/utils/smbcacls.c
@@ -407,7 +407,7 @@ static SEC_DESC *sec_desc_parse(char *str)
static void sec_desc_print(FILE *f, SEC_DESC *sd)
{
fstring sidstr;
- int i;
+ uint32 i;
printf("REVISION:%d\n", sd->revision);
@@ -553,7 +553,7 @@ static int ace_compare(SEC_ACE *ace1, SEC_ACE *ace2)
static void sort_acl(SEC_ACL *the_acl)
{
- int i;
+ uint32 i;
if (!the_acl) return;
qsort(the_acl->ace, the_acl->num_aces, sizeof(the_acl->ace[0]), QSORT_CAST ace_compare);
@@ -579,7 +579,7 @@ static int cacl_set(struct cli_state *cli, char *filename,
{
int fnum;
SEC_DESC *sd, *old;
- int i, j;
+ uint32 i, j;
size_t sd_size;
int result = EXIT_OK;
@@ -616,7 +616,7 @@ static int cacl_set(struct cli_state *cli, char *filename,
for (j=0;old->dacl && j<old->dacl->num_aces;j++) {
if (sec_ace_equal(&sd->dacl->ace[i],
&old->dacl->ace[j])) {
- int k;
+ uint32 k;
for (k=j; k<old->dacl->num_aces-1;k++) {
old->dacl->ace[k] = old->dacl->ace[k+1];
}