summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2016-08-31 15:38:11 +0200
committerJeremy Allison <jra@samba.org>2016-09-01 02:04:20 +0200
commit1e9fa5dd50debd8acfc64e163f3f25b18ca0372f (patch)
tree8c641b1dfedda547e1e233f578d8bd3a531b7d99 /lib
parent2de4aea7281eba66e654786de6f72d90ea8077c2 (diff)
downloadsamba-1e9fa5dd50debd8acfc64e163f3f25b18ca0372f.tar.gz
ldb: Fix a signed/unsigned hickup
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/ldb/ldb_map/ldb_map_outbound.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ldb/ldb_map/ldb_map_outbound.c b/lib/ldb/ldb_map/ldb_map_outbound.c
index e755b7e4427..fd25c3658da 100644
--- a/lib/ldb/ldb_map/ldb_map_outbound.c
+++ b/lib/ldb/ldb_map/ldb_map_outbound.c
@@ -190,7 +190,7 @@ static int map_attrs_partition(struct ldb_module *module, void *mem_ctx, const c
static int ldb_msg_replace(struct ldb_message *msg, const struct ldb_message_element *el)
{
struct ldb_message_element *old;
- int j;
+ unsigned j;
old = ldb_msg_find_element(msg, el->name);
/* no local result, add as new element */