git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ac30e7
)
s4:dsdb: Fix size type for num_of_attrs in acl_read
author
Andreas Schneider
<asn@samba.org>
Fri, 18 Jan 2019 16:50:56 +0000
(17:50 +0100)
committer
Andreas Schneider
<asn@cryptomilk.org>
Sat, 19 Jan 2019 11:24:18 +0000
(12:24 +0100)
This fixes a compile error on sn-devel184.
Signed-off-by: Andreas Schneider <asn@samba.org>
source4/dsdb/samdb/ldb_modules/acl_read.c
patch
|
blob
|
history
diff --git
a/source4/dsdb/samdb/ldb_modules/acl_read.c
b/source4/dsdb/samdb/ldb_modules/acl_read.c
index 6ab4780a19649dbabed0a9c55284139d60ab5956..5a193e6d92592a399665c34bb077ecafaa031ffe 100644
(file)
--- a/
source4/dsdb/samdb/ldb_modules/acl_read.c
+++ b/
source4/dsdb/samdb/ldb_modules/acl_read.c
@@
-458,7
+458,8
@@
static int aclread_callback(struct ldb_request *req, struct ldb_reply *ares)
struct aclread_context *ac;
struct ldb_message *ret_msg;
struct ldb_message *msg;
- int ret, num_of_attrs = 0;
+ int ret;
+ size_t num_of_attrs = 0;
unsigned int i, k = 0;
struct security_descriptor *sd = NULL;
struct dom_sid *sid = NULL;