summaryrefslogtreecommitdiff
path: root/source3/locking
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-11-17 23:10:56 +0000
committerJeremy Allison <jra@samba.org>2000-11-17 23:10:56 +0000
commitac4d2775618a9ac3428d60bf667e3b968d634799 (patch)
treee72962eb970f1aa01ef2368124370314b0ecdb6d /source3/locking
parent5f8ff6056ad2d7432dfe64977cb15364f199b962 (diff)
downloadsamba-ac4d2775618a9ac3428d60bf667e3b968d634799.tar.gz
samba-ac4d2775618a9ac3428d60bf667e3b968d634799.tar.bz2
samba-ac4d2775618a9ac3428d60bf667e3b968d634799.zip
Fix from John Reilly for equivalence tests.
Jeremy. (This used to be commit b456274a7ba22d512bab5ede979cd9363398825b)
Diffstat (limited to 'source3/locking')
-rw-r--r--source3/locking/brlock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/locking/brlock.c b/source3/locking/brlock.c
index 7e22b8ac7a..979910970f 100644
--- a/source3/locking/brlock.c
+++ b/source3/locking/brlock.c
@@ -440,5 +440,5 @@ static int traverse_fn(TDB_CONTEXT *ttdb, TDB_DATA kbuf, TDB_DATA dbuf, void *st
int brl_forall(BRLOCK_FN(fn))
{
if (!tdb) return 0;
- return tdb_traverse(tdb, traverse_fn, (BRLOCK_FN_CAST())fn);
+ return tdb_traverse(tdb, traverse_fn, (void *)fn);
}