summaryrefslogtreecommitdiffstats
path: root/source4/lib/ldb/tools/ldbdel.c
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-11-06 18:35:17 +0100
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-06 11:35:17 +0100
commite10fa46f3e5b3481e3c95e52f9d666eafd50ed25 (patch)
tree53637c911edbbf5fb5c16a42cb1816c3315ec6cc /source4/lib/ldb/tools/ldbdel.c
parent24049e8fc58c5216b3af8fdaf327471eaff882a1 (diff)
downloadsamba-e10fa46f3e5b3481e3c95e52f9d666eafd50ed25.tar.gz
samba-e10fa46f3e5b3481e3c95e52f9d666eafd50ed25.tar.xz
samba-e10fa46f3e5b3481e3c95e52f9d666eafd50ed25.zip
LDB:tools - change counters to be unsigned
In most cases we do count LDB objects which are enumerated within the "unsigned" type. Therefore no need to use "signed" counters.
Diffstat (limited to 'source4/lib/ldb/tools/ldbdel.c')
-rw-r--r--source4/lib/ldb/tools/ldbdel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/lib/ldb/tools/ldbdel.c b/source4/lib/ldb/tools/ldbdel.c
index 1b8adf714c9..04884e1becb 100644
--- a/source4/lib/ldb/tools/ldbdel.c
+++ b/source4/lib/ldb/tools/ldbdel.c
@@ -43,7 +43,8 @@ static int dn_cmp(struct ldb_message **msg1, struct ldb_message **msg2)
static int ldb_delete_recursive(struct ldb_context *ldb, struct ldb_dn *dn,struct ldb_control **req_ctrls)
{
- int ret, i, total=0;
+ int ret;
+ unsigned int i, total=0;
const char *attrs[] = { NULL };
struct ldb_result *res;