s4:extended_dn_store LDB module - fix counter types
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Sat, 30 Oct 2010 14:35:12 +0000 (16:35 +0200)
committerMatthias Dieter Wallnöfer <mdw@samba.org>
Sat, 30 Oct 2010 15:00:04 +0000 (15:00 +0000)
source4/dsdb/samdb/ldb_modules/extended_dn_store.c

index fafe51132fb0be11b545e5d2c82cb82156d3fde2..73389440f52534c89cbb5156cbe102e7a2e647b5 100644 (file)
@@ -298,7 +298,7 @@ static int extended_dn_add(struct ldb_module *module, struct ldb_request *req)
 {
        struct extended_dn_context *ac;
        int ret;
-       int i, j;
+       unsigned int i, j;
 
        if (ldb_dn_is_special(req->op.add.message->dn)) {
                /* do not manipulate our control entries */
@@ -371,7 +371,7 @@ static int extended_dn_modify(struct ldb_module *module, struct ldb_request *req
        /* Determine the effect of the modification */
        /* Apply the modify to the linked entry */
 
-       int i, j;
+       unsigned int i, j;
        struct extended_dn_context *ac;
        int ret;