diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-11-27 08:41:41 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:16:09 -0500 |
commit | 847644bdac520a3cca7f30ffa50c0de3eeedf6d9 (patch) | |
tree | 94026c95cc94cfbf00da44dd0b32da29aa07f747 /source3/lib/ldb/ldb_tdb/ldb_search.c | |
parent | fb5d4f9c863c5486eed607dfb723254411758f89 (diff) | |
download | samba-847644bdac520a3cca7f30ffa50c0de3eeedf6d9.tar.gz samba-847644bdac520a3cca7f30ffa50c0de3eeedf6d9.tar.bz2 samba-847644bdac520a3cca7f30ffa50c0de3eeedf6d9.zip |
r19917: Fix warnings
(This used to be commit cf4309b9048a8417104cac660421a3dcd2e96ffe)
Diffstat (limited to 'source3/lib/ldb/ldb_tdb/ldb_search.c')
-rw-r--r-- | source3/lib/ldb/ldb_tdb/ldb_search.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source3/lib/ldb/ldb_tdb/ldb_search.c b/source3/lib/ldb/ldb_tdb/ldb_search.c index 884eccd362..7a6fe263fd 100644 --- a/source3/lib/ldb/ldb_tdb/ldb_search.c +++ b/source3/lib/ldb/ldb_tdb/ldb_search.c @@ -211,7 +211,8 @@ static struct ldb_message *ltdb_pull_attrs(struct ldb_module *module, */ int ltdb_search_dn1(struct ldb_module *module, const struct ldb_dn *dn, struct ldb_message *msg) { - struct ltdb_private *ltdb = module->private_data; + struct ltdb_private *ltdb = + (struct ltdb_private *)module->private_data; int ret; TDB_DATA tdb_key, tdb_data; @@ -253,7 +254,8 @@ int ltdb_search_dn1(struct ldb_module *module, const struct ldb_dn *dn, struct l */ static int ltdb_lock_read(struct ldb_module *module) { - struct ltdb_private *ltdb = module->private_data; + struct ltdb_private *ltdb = + (struct ltdb_private *)module->private_data; return tdb_lockall_read(ltdb->tdb); } @@ -262,7 +264,8 @@ static int ltdb_lock_read(struct ldb_module *module) */ static int ltdb_unlock_read(struct ldb_module *module) { - struct ltdb_private *ltdb = module->private_data; + struct ltdb_private *ltdb = + (struct ltdb_private *)module->private_data; return tdb_unlockall_read(ltdb->tdb); } |