summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
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) {