summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-09-20 12:47:52 +0200
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-09-20 12:47:52 +0200
commit52650f109dd12545db78fb4345d70dc83273b10b (patch)
treed6ce56137be07a579546cfff37db455bff56f05e /source4/lib/ldb
parentb8e65e697496f079ccb9bc4370397cf3b4c3d3c0 (diff)
downloadsamba-52650f109dd12545db78fb4345d70dc83273b10b.tar.gz
samba-52650f109dd12545db78fb4345d70dc83273b10b.tar.bz2
samba-52650f109dd12545db78fb4345d70dc83273b10b.zip
s4:ldb_parse - Fix the type of an array entry
I found this through a compile warning. Hope that I got this right.
Diffstat (limited to 'source4/lib/ldb')
-rw-r--r--source4/lib/ldb/common/ldb_parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/common/ldb_parse.c b/source4/lib/ldb/common/ldb_parse.c
index 7f347c51df..ba16b57da3 100644
--- a/source4/lib/ldb/common/ldb_parse.c
+++ b/source4/lib/ldb/common/ldb_parse.c
@@ -839,7 +839,7 @@ struct ldb_parse_tree *ldb_parse_tree_copy_shallow(TALLOC_CTX *mem_ctx,
switch (ot->operation) {
case LDB_OP_AND:
case LDB_OP_OR:
- nt->u.list.elements = talloc_array(nt, struct ldb_parse_tree,
+ nt->u.list.elements = talloc_array(nt, struct ldb_parse_tree *,
ot->u.list.num_elements);
if (!nt->u.list.elements) {
talloc_free(nt);