summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/rpcclient/display_sec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/rpcclient/display_sec.c b/source3/rpcclient/display_sec.c
index 412f918344..277d26f1cf 100644
--- a/source3/rpcclient/display_sec.c
+++ b/source3/rpcclient/display_sec.c
@@ -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;
}