summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-09-19 13:00:38 +0200
committerAndrew Bartlett <abartlet@samba.org>2010-09-24 09:25:41 +1000
commit9ca8214978246b07326973bc7534682bb27e7084 (patch)
treebce4907c39077cdfce965ce9d793175e6ad95c16 /source4/lib/ldb
parent0f163eb61113424e55887a9d0f2a7a89b109c4d0 (diff)
downloadsamba-9ca8214978246b07326973bc7534682bb27e7084.tar.gz
samba-9ca8214978246b07326973bc7534682bb27e7084.tar.bz2
samba-9ca8214978246b07326973bc7534682bb27e7084.zip
ldb:ldb_match.c - fix counter variable type
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/lib/ldb')
-rw-r--r--source4/lib/ldb/common/ldb_match.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/common/ldb_match.c b/source4/lib/ldb/common/ldb_match.c
index 74bc015d5a..869b3bd1c8 100644
--- a/source4/lib/ldb/common/ldb_match.c
+++ b/source4/lib/ldb/common/ldb_match.c
@@ -433,7 +433,7 @@ int ldb_match_msg(struct ldb_context *ldb,
int ldb_match_msg_objectclass(const struct ldb_message *msg,
const char *objectclass)
{
- int i;
+ unsigned int i;
struct ldb_message_element *el = ldb_msg_find_element(msg, "objectClass");
if (!el) {
return 0;