From ab0a881bb4015d0b32f4f577f2bbd3ca72d31217 Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Fri, 8 Apr 2011 08:30:41 +0200 Subject: ldb:ldb/common/ldb_modules.c - change the request counter type to be "unsigned" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Autobuild-Date: Fri Apr 8 09:17:47 CEST 2011 on sn-devel-104 --- source4/lib/ldb/common/ldb_modules.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/lib/ldb/common/ldb_modules.c b/source4/lib/ldb/common/ldb_modules.c index 93fd732e38..61d1901513 100644 --- a/source4/lib/ldb/common/ldb_modules.c +++ b/source4/lib/ldb/common/ldb_modules.c @@ -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) { -- cgit