diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2009-11-06 18:35:17 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-03-06 11:35:17 +0100 |
commit | e10fa46f3e5b3481e3c95e52f9d666eafd50ed25 (patch) | |
tree | 53637c911edbbf5fb5c16a42cb1816c3315ec6cc /source4/lib/ldb/tools/cmdline.c | |
parent | 24049e8fc58c5216b3af8fdaf327471eaff882a1 (diff) | |
download | samba-e10fa46f3e5b3481e3c95e52f9d666eafd50ed25.tar.gz samba-e10fa46f3e5b3481e3c95e52f9d666eafd50ed25.tar.bz2 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/cmdline.c')
-rw-r--r-- | source4/lib/ldb/tools/cmdline.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/ldb/tools/cmdline.c b/source4/lib/ldb/tools/cmdline.c index f2becb17af..869d5ca8c3 100644 --- a/source4/lib/ldb/tools/cmdline.c +++ b/source4/lib/ldb/tools/cmdline.c @@ -347,8 +347,8 @@ failed: */ int handle_controls_reply(struct ldb_control **reply, struct ldb_control **request) { - int i, j; - int ret = 0; + unsigned int i, j; + int ret = 0; if (reply == NULL || request == NULL) return -1; |