summaryrefslogtreecommitdiff
path: root/libcli/security
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2011-02-16 09:12:17 +0100
committerMatthias Dieter Wallnöfer <mdw@samba.org>2011-02-21 10:43:43 +0100
commit055857a8d46f315014f13a845c9a66a837d86f76 (patch)
tree73cd4a60c9dac1634b818aea37a0583a114649c3 /libcli/security
parente37db96d2ae1ffccaaa79cf4ebb5506386ae45ba (diff)
downloadsamba-055857a8d46f315014f13a845c9a66a837d86f76.tar.gz
samba-055857a8d46f315014f13a845c9a66a837d86f76.tar.bz2
samba-055857a8d46f315014f13a845c9a66a837d86f76.zip
libcli/security/display_sec.c - fix wrong counter type
This strictly needs to be of type "uint32_t" due to "sec_acl->num_aces" which is of type "uint32_t".
Diffstat (limited to 'libcli/security')
-rw-r--r--libcli/security/display_sec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcli/security/display_sec.c b/libcli/security/display_sec.c
index 3d60e4230d..0aa89b4983 100644
--- a/libcli/security/display_sec.c
+++ b/libcli/security/display_sec.c
@@ -233,7 +233,7 @@ void display_sec_ace(struct security_ace *ace)
****************************************************************************/
void display_sec_acl(struct security_acl *sec_acl)
{
- int i;
+ uint32_t i;
printf("\tACL\tNum ACEs:\t%u\trevision:\t%x\n",
sec_acl->num_aces, sec_acl->revision);