ldb:ldb_match.c - fix counter variable type
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Sun, 19 Sep 2010 11:00:38 +0000 (13:00 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 23 Sep 2010 23:25:41 +0000 (09:25 +1000)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
source4/lib/ldb/common/ldb_match.c

index 74bc015d5a2ccc5e13c4bc25e9a33d09d729c67e..869b3bd1c8c7c216897b4b1d857c3948ac7f1407 100644 (file)
@@ -433,7 +433,7 @@ int ldb_match_msg(struct ldb_context *ldb,
 int ldb_match_msg_objectclass(const struct ldb_message *msg,
                              const char *objectclass)
 {
-       int i;
+       unsigned int i;
        struct ldb_message_element *el = ldb_msg_find_element(msg, "objectClass");
        if (!el) {
                return 0;