git.samba.org
/
garming
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee090c0
)
ldb: Fix a signed/unsigned mixup
author
Volker Lendecke
<vl@samba.org>
Mon, 17 Oct 2016 19:40:25 +0000
(21:40 +0200)
committer
Jeremy Allison
<jra@samba.org>
Tue, 18 Oct 2016 23:26:14 +0000
(
01:26
+0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
lib/ldb/ldb_tdb/ldb_index.c
patch
|
blob
|
history
diff --git
a/lib/ldb/ldb_tdb/ldb_index.c
b/lib/ldb/ldb_tdb/ldb_index.c
index 79241721c9f1562ce925fcd7eed61332b94778de..53fcde5a31d5f342210a3f7a09cdaba4087d8eda 100644
(file)
--- a/
lib/ldb/ldb_tdb/ldb_index.c
+++ b/
lib/ldb/ldb_tdb/ldb_index.c
@@
-1210,7
+1210,8
@@
static int ltdb_index_add_el(struct ldb_module *module, const char *dn,
add index entries for all elements in a message
*/
static int ltdb_index_add_all(struct ldb_module *module, const char *dn,
- struct ldb_message_element *elements, int num_el,
+ struct ldb_message_element *elements,
+ unsigned int num_el,
bool is_new)
{
struct ltdb_private *ltdb = talloc_get_type(ldb_module_get_private(module), struct ltdb_private);