summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-09-11 17:43:44 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-09-11 17:43:44 +0200
commit5f98d31fc086e57507acb6e46095a1329f0e5f3b (patch)
tree5de8190040aa11fd8a2adb77c64a4ffeb7eb85a8 /source4/lib/ldb
parentc0a863b6f35315a748fa3bb4ae4e4e7c48ad2102 (diff)
downloadsamba-5f98d31fc086e57507acb6e46095a1329f0e5f3b.tar.gz
samba-5f98d31fc086e57507acb6e46095a1329f0e5f3b.tar.bz2
samba-5f98d31fc086e57507acb6e46095a1329f0e5f3b.zip
ldb:tools/cmdline.c - make a counter unsigned where appropriate
Diffstat (limited to 'source4/lib/ldb')
-rw-r--r--source4/lib/ldb/tools/cmdline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/tools/cmdline.c b/source4/lib/ldb/tools/cmdline.c
index 9984766278..3ea222f926 100644
--- a/source4/lib/ldb/tools/cmdline.c
+++ b/source4/lib/ldb/tools/cmdline.c
@@ -90,7 +90,7 @@ void ldb_cmdline_help(const char *cmdname, FILE *f)
*/
static bool add_control(TALLOC_CTX *mem_ctx, const char *control)
{
- int i;
+ unsigned int i;
/* count how many controls we already have */
for (i=0; options.controls && options.controls[i]; i++) ;