git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ldb:ldb_match.c - fix counter variable type
[ira/wip.git]
/
source4
/
lib
/
ldb
/
common
/
ldb_match.c
diff --git
a/source4/lib/ldb/common/ldb_match.c
b/source4/lib/ldb/common/ldb_match.c
index 74bc015d5a2ccc5e13c4bc25e9a33d09d729c67e..869b3bd1c8c7c216897b4b1d857c3948ac7f1407 100644
(file)
--- 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;