diff options
author | Tim Potter <tpot@samba.org> | 2001-12-13 00:02:37 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2001-12-13 00:02:37 +0000 |
commit | 23b239625ced6b72d0ae30d2e0fec2dbdf680e0b (patch) | |
tree | 4a0c2dfe5824b1e0ebf745a97367c7cd3cef0d79 /source3/rpcclient | |
parent | a85390ae696998096b9323fd388fe0f1a9e1795c (diff) | |
download | samba-23b239625ced6b72d0ae30d2e0fec2dbdf680e0b.tar.gz samba-23b239625ced6b72d0ae30d2e0fec2dbdf680e0b.tar.bz2 samba-23b239625ced6b72d0ae30d2e0fec2dbdf680e0b.zip |
Fix some compiler warnings.
(This used to be commit 216dff438095781934b57fd097ed118daf5fffa0)
Diffstat (limited to 'source3/rpcclient')
-rw-r--r-- | source3/rpcclient/display_sec.c | 3 |
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; } |