ldb:tools/cmdline.c + tools/ldbtest.c - the connection flags are typed as "unsigned"
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Sun, 10 Apr 2011 17:44:53 +0000 (19:44 +0200)
committerMatthias Dieter Wallnöfer <mdw@samba.org>
Sat, 21 May 2011 14:21:13 +0000 (16:21 +0200)
Signed-off-by: Metze
source4/lib/ldb/tools/cmdline.c
source4/lib/ldb/tools/ldbtest.c

index c2599414b0a33a11d2f1e7ebaebf2fbf2449cc3d..a06445fc0f4b1f7d65e72fbb8871d7676d6b4272 100644 (file)
@@ -101,7 +101,7 @@ struct ldb_cmdline *ldb_cmdline_process(struct ldb_context *ldb,
        poptContext pc;
        int num_options = 0;
        int opt;
-       int flags = 0;
+       unsigned int flags = 0;
        int rc;
        struct poptOption **popt_options;
 
index 47b78364fa62ac0debdeb1013ece086d9f5049fe..4e181af9d55f03c623896ca25fc67662e645968b 100644 (file)
@@ -304,7 +304,7 @@ static void start_test_index(struct ldb_context **ldb)
        struct ldb_dn *indexlist;
        struct ldb_dn *basedn;
        int ret;
-       int flags = 0;
+       unsigned int flags = 0;
        const char *specials;
 
        specials = getenv("LDB_SPECIALS");