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

Fix some compiler warnings.

(This used to be commit 216dff4380)
This commit is contained in:
Tim Potter 2001-12-13 00:02:37 +00:00
parent a85390ae69
commit 23b239625c

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;
}