From 562f73d5817b88f7a83d63a4583dd4f6535a9849 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Sat, 16 Feb 2002 19:46:42 +0000 Subject: int -> uint32 fixes from andreas (This used to be commit 84c811ca57f7e1b7d9ee498d95b3b21bea47eb5e) --- source3/utils/smbcacls.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source3/utils') 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 && jdacl->num_aces;j++) { if (sec_ace_equal(&sd->dacl->ace[i], &old->dacl->ace[j])) { - int k; + uint32 k; for (k=j; kdacl->num_aces-1;k++) { old->dacl->ace[k] = old->dacl->ace[k+1]; } -- cgit