1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

ldb:ldb/common/ldb_modules.c - change the request counter type to be "unsigned"

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
This commit is contained in:
Matthias Dieter Wallnöfer 2011-04-08 08:30:41 +02:00
parent a15ebe61c3
commit ab0a881bb4

View 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 *ldb_module_call_chain(struct ldb_request *req, TALLOC_CTX *mem_ctx)
{ {
char *ret; char *ret;
int i=0; unsigned int i = 0;
ret = talloc_strdup(mem_ctx, ""); ret = talloc_strdup(mem_ctx, "");
if (ret == NULL) { if (ret == NULL) {