summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/ldb_tdb/ldb_search.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-08 10:32:56 +0100
commit2d03011858ca33ee56b4c36ac6a901850ff69864 (patch)
treec4d733c6f4d2aadf72e9486f182e7c3db6a8d430 /source4/lib/ldb/ldb_tdb/ldb_search.c
parent4a2b78a6f36d4eb2a8763464f33720936921650c (diff)
downloadsamba-2d03011858ca33ee56b4c36ac6a901850ff69864.tar.gz
samba-2d03011858ca33ee56b4c36ac6a901850ff69864.tar.bz2
samba-2d03011858ca33ee56b4c36ac6a901850ff69864.zip
LDB:TDB backend - change counter variables to "unsigned" where appropriate
Diffstat (limited to 'source4/lib/ldb/ldb_tdb/ldb_search.c')
-rw-r--r--source4/lib/ldb/ldb_tdb/ldb_search.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/lib/ldb/ldb_tdb/ldb_search.c b/source4/lib/ldb/ldb_tdb/ldb_search.c
index 268c2f3c35..efd6968ceb 100644
--- a/source4/lib/ldb/ldb_tdb/ldb_search.c
+++ b/source4/lib/ldb/ldb_tdb/ldb_search.c
@@ -145,7 +145,7 @@ static struct ldb_message *ltdb_pull_attrs(struct ldb_module *module,
const char * const *attrs)
{
struct ldb_message *ret;
- int i;
+ unsigned int i;
ret = talloc(mem_ctx, struct ldb_message);
if (!ret) {
@@ -325,7 +325,8 @@ int ltdb_add_attr_results(struct ldb_module *module,
*/
int ltdb_filter_attrs(struct ldb_message *msg, const char * const *attrs)
{
- int i, keep_all = 0;
+ unsigned int i;
+ int keep_all = 0;
if (attrs) {
/* check for special attrs */