s4:util.c - "dsdb_check_optional_feature" - counter should be "unsigned"
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Fri, 12 Mar 2010 17:56:44 +0000 (18:56 +0100)
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Fri, 12 Mar 2010 17:56:44 +0000 (18:56 +0100)
source4/dsdb/samdb/ldb_modules/util.c

index 8cf3335e15d7dc40f41a487a3c47004787928536..d9c05a6c3049ccd17cfccca9825de281e0d0af8c 100644 (file)
@@ -442,7 +442,7 @@ int dsdb_check_optional_feature(struct ldb_module *module, struct ldb_dn *scope,
        struct GUID search_guid;
        const char *attrs[] = {"msDS-EnabledFeature", NULL};
        int ret;
-       int i;
+       unsigned int i;
        struct ldb_message_element *el;
 
        *feature_enabled = false;