summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-11-07 12:15:38 +0100
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-11-07 12:21:14 +0100
commit22d9610a1fd7cf2c1421ec3f63e8e78ffdfd790a (patch)
tree0a5f2175d26e4a7c2e7a7372877bebe3937c1681 /source4
parent5cdee7ae0565c08026b8845cd3090b20d8abc472 (diff)
downloadsamba-22d9610a1fd7cf2c1421ec3f63e8e78ffdfd790a.tar.gz
samba-22d9610a1fd7cf2c1421ec3f63e8e78ffdfd790a.tar.bz2
samba-22d9610a1fd7cf2c1421ec3f63e8e78ffdfd790a.zip
s4:dsdb/common/util - samdb_result_hashes - use "unsigned int" for counters
Diffstat (limited to 'source4')
-rw-r--r--source4/dsdb/common/util.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/dsdb/common/util.c b/source4/dsdb/common/util.c
index 393e1d45f5..dcbb462e71 100644
--- a/source4/dsdb/common/util.c
+++ b/source4/dsdb/common/util.c
@@ -563,9 +563,8 @@ struct samr_Password *samdb_result_hash(TALLOC_CTX *mem_ctx, const struct ldb_me
uint_t samdb_result_hashes(TALLOC_CTX *mem_ctx, const struct ldb_message *msg,
const char *attr, struct samr_Password **hashes)
{
- uint_t count = 0;
+ uint_t count, i;
const struct ldb_val *val = ldb_msg_find_ldb_val(msg, attr);
- int i;
*hashes = NULL;
if (!val) {