summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2011-04-10 19:44:53 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2011-05-21 16:21:13 +0200
commit3956e6840d1619519bf9848574baf60efa926b42 (patch)
tree633da850a3e36bd3df66bb2d8a0f2378bed46210 /source4/lib
parente6c5e11116afb8e6f5c16267c62e90084ac7d4da (diff)
downloadsamba-3956e6840d1619519bf9848574baf60efa926b42.tar.gz
samba-3956e6840d1619519bf9848574baf60efa926b42.tar.bz2
samba-3956e6840d1619519bf9848574baf60efa926b42.zip
ldb:tools/cmdline.c + tools/ldbtest.c - the connection flags are typed as "unsigned"
Signed-off-by: Metze
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/ldb/tools/cmdline.c2
-rw-r--r--source4/lib/ldb/tools/ldbtest.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/ldb/tools/cmdline.c b/source4/lib/ldb/tools/cmdline.c
index c2599414b0..a06445fc0f 100644
--- a/source4/lib/ldb/tools/cmdline.c
+++ b/source4/lib/ldb/tools/cmdline.c
@@ -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;
diff --git a/source4/lib/ldb/tools/ldbtest.c b/source4/lib/ldb/tools/ldbtest.c
index 47b78364fa..4e181af9d5 100644
--- a/source4/lib/ldb/tools/ldbtest.c
+++ b/source4/lib/ldb/tools/ldbtest.c
@@ -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");