git.samba.org
/
ddiss
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7659fa
)
libcli/security/privileges.c - fix wrong counter type
author
Matthias Dieter Wallnöfer
<mdw@samba.org>
Wed, 16 Feb 2011 08:12:17 +0000
(09:12 +0100)
committer
Matthias Dieter Wallnöfer
<mdw@samba.org>
Mon, 21 Feb 2011 09:43:43 +0000
(10:43 +0100)
This strictly needs to be from type "uint32_t" since "privset->count"
is defined with this type.
libcli/security/privileges.c
patch
|
blob
|
history
diff --git
a/libcli/security/privileges.c
b/libcli/security/privileges.c
index 1e18b44baa91d6d7b06a0c2421d898ea1c54d033..adb67c19f2d62c1f2fa7eec158a1748305c468da 100644
(file)
--- a/
libcli/security/privileges.c
+++ b/
libcli/security/privileges.c
@@
-296,7
+296,7
@@
bool se_priv_to_privilege_set( PRIVILEGE_SET *set, uint64_t privilege_mask )
bool privilege_set_to_se_priv( uint64_t *privilege_mask, struct lsa_PrivilegeSet *privset )
{
-
in
t i;
+
uint32_
t i;
ZERO_STRUCTP( privilege_mask );