summaryrefslogtreecommitdiff
path: root/source3/locking
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-06-28 22:33:10 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:19:06 -0500
commitcc1457beb00faa6869e2472e305b4e97c0995ea3 (patch)
treebd777cfc16803f0dbd024b878db2c320cab013c0 /source3/locking
parentc7d2deb151b22f1b84213470a53ab43c42e6646a (diff)
downloadsamba-cc1457beb00faa6869e2472e305b4e97c0995ea3.tar.gz
samba-cc1457beb00faa6869e2472e305b4e97c0995ea3.tar.bz2
samba-cc1457beb00faa6869e2472e305b4e97c0995ea3.zip
r16661: Fix from jason@ncac.gwu.edu for bug #3875,
bad cast warning. Jeremy. (This used to be commit d60e6e0abc17361fe180d6723b970552dc377741)
Diffstat (limited to 'source3/locking')
-rw-r--r--source3/locking/locking.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/locking/locking.c b/source3/locking/locking.c
index 01f12bbb58..9d3ca95601 100644
--- a/source3/locking/locking.c
+++ b/source3/locking/locking.c
@@ -1274,7 +1274,7 @@ static int traverse_fn(TDB_CONTEXT *the_tdb, TDB_DATA kbuf, TDB_DATA dbuf,
const char *sharepath;
const char *fname;
int i;
- void (*traverse_callback)(struct share_mode_entry *, const char *, const char *) = state;
+ LOCKING_FN(traverse_callback) = (LOCKING_FN_CAST())state;
/* Ensure this is a locking_key record. */
if (kbuf.dsize != sizeof(struct locking_key))