ldb:ldb/common/ldb_modules.c - change the request counter type to be "unsigned"
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Fri, 8 Apr 2011 06:30:41 +0000 (08:30 +0200)
committerMatthias Dieter Wallnöfer <mdw@samba.org>
Fri, 8 Apr 2011 07:17:47 +0000 (09:17 +0200)
Just for consistency since all other LDB counters are unsigned as well.

And also the debug output specifier has been chosen to be "%u" - so it
really should be unsigned.

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Fri Apr  8 09:17:47 CEST 2011 on sn-devel-104

source4/lib/ldb/common/ldb_modules.c

index 93fd732e380ca4e721b6dbbd04a51a9846eb5db4..61d1901513aa7f38e6eb9b90a42c36db3b0254f5 100644 (file)
@@ -1089,7 +1089,7 @@ int ldb_modules_load(const char *modules_path, const char *version)
 char *ldb_module_call_chain(struct ldb_request *req, TALLOC_CTX *mem_ctx)
 {
        char *ret;
-       int i=0;
+       unsigned int i = 0;
 
        ret = talloc_strdup(mem_ctx, "");
        if (ret == NULL) {