summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-12-04 03:27:02 +0000
committerAndrew Tridgell <tridge@samba.org>2000-12-04 03:27:02 +0000
commit576a106d033337088b969a2a63dd7e5616cc1d72 (patch)
tree038d70389de4193f47e1b0e10fcb95c58d85d64a /source3
parent9b8a930f2cded5d1be2d2a22801d669356d996af (diff)
downloadsamba-576a106d033337088b969a2a63dd7e5616cc1d72.tar.gz
samba-576a106d033337088b969a2a63dd7e5616cc1d72.tar.bz2
samba-576a106d033337088b969a2a63dd7e5616cc1d72.zip
signed/unsigned warning fixed
(This used to be commit 71adecd163b13169d359b69f61e8e70e2f140277)
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/smbcacls.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/utils/smbcacls.c b/source3/utils/smbcacls.c
index 7f2ab8cf53..def5fadbad 100644
--- a/source3/utils/smbcacls.c
+++ b/source3/utils/smbcacls.c
@@ -141,7 +141,7 @@ static SEC_DESC *sec_desc_parse(char *str)
char *p = str;
fstring tok;
SEC_DESC *ret;
- int sd_size;
+ unsigned sd_size;
DOM_SID *grp_sid=NULL, *owner_sid=NULL;
SEC_ACL *dacl=NULL, *sacl=NULL;
int revision=1;
@@ -283,7 +283,8 @@ static void cacl_set(struct cli_state *cli, char *filename,
{
int fnum;
SEC_DESC *sd, *old;
- int i, j, sd_size;
+ int i, j;
+ unsigned sd_size;
sd = sec_desc_parse(acl);
if (!sd) {