ldb: Fix a signed/unsigned hickup
authorVolker Lendecke <vl@samba.org>
Wed, 31 Aug 2016 13:38:11 +0000 (15:38 +0200)
committerJeremy Allison <jra@samba.org>
Thu, 1 Sep 2016 00:04:20 +0000 (02:04 +0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/ldb/ldb_map/ldb_map_outbound.c

index e755b7e4427ef34b65f14afc4c3db224f78f6c0a..fd25c3658dae307ba940fbb8afce560ec83da509 100644 (file)
@@ -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 */