ldb:tools/cmdline.c - make a counter unsigned where appropriate
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Sat, 11 Sep 2010 15:43:44 +0000 (17:43 +0200)
committerMatthias Dieter Wallnöfer <mdw@samba.org>
Sat, 11 Sep 2010 15:43:44 +0000 (17:43 +0200)
source4/lib/ldb/tools/cmdline.c

index 99847662785238f87f0d8d068dee634ae24bcf3b..3ea222f926edccc67cce299fdaae0df934a20983 100644 (file)
@@ -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++) ;