summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2016-10-17 21:40:25 +0200
committerJeremy Allison <jra@samba.org>2016-10-19 01:26:14 +0200
commit3460ad8faea19e7ce00dfe7a393bd5aaa69b0d95 (patch)
tree8fd5db2bba11819b8cbea140b5869832ff3eafb4 /lib
parentee090c0423f73baa32244ea96e62ca4d6b4299e1 (diff)
downloadsamba-3460ad8faea19e7ce00dfe7a393bd5aaa69b0d95.tar.gz
ldb: Fix a signed/unsigned mixup
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/ldb/ldb_tdb/ldb_index.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ldb/ldb_tdb/ldb_index.c b/lib/ldb/ldb_tdb/ldb_index.c
index 79241721c9f..53fcde5a31d 100644
--- 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);