1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

Fix some compiler warnings.

This commit is contained in:
Tim Potter 0001-01-01 00:00:00 +00:00
parent d3ac2265b1
commit 216dff4380

View File

@ -29,7 +29,6 @@ convert a security permissions into a string
char *get_sec_mask_str(uint32 type)
{
static fstring typestr="";
int i;
typestr[0] = 0;
@ -56,7 +55,7 @@ char *get_sec_mask_str(uint32 type)
if (type & DELETE_ACCESS)
fstrcat(typestr, "DELETE_ACCESS ");
printf("\t\tSpecific bits: 0x%x\n", type&SPECIFIC_RIGHTS_MASK);
printf("\t\tSpecific bits: 0x%lx\n", type&SPECIFIC_RIGHTS_MASK);
return typestr;
}