Fix some compiler warnings.
authorTim Potter <tpot@samba.org>
Thu, 13 Dec 2001 00:02:37 +0000 (00:02 +0000)
committerTim Potter <tpot@samba.org>
Thu, 13 Dec 2001 00:02:37 +0000 (00:02 +0000)
(This used to be commit 216dff438095781934b57fd097ed118daf5fffa0)

source3/rpcclient/display_sec.c

index 412f9183445b6faaa0e67dc549f032a48b3719e5..277d26f1cf692f294152f57510eca513d5f31916 100644 (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;
 }