summaryrefslogtreecommitdiff
path: root/source4/locking/brlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/locking/brlock.c')
-rw-r--r--source4/locking/brlock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/locking/brlock.c b/source4/locking/brlock.c
index 4cd885f1a6..94783b4fb8 100644
--- a/source4/locking/brlock.c
+++ b/source4/locking/brlock.c
@@ -367,7 +367,7 @@ NTSTATUS brl_lock(SMB_DEV_T dev, SMB_INO_T ino, int fnum,
#if ZERO_ZERO
/* sort the lock list */
- qsort(dbuf.dptr, dbuf.dsize/sizeof(lock), sizeof(lock), lock_compare);
+ qsort(dbuf.dptr, dbuf.dsize/sizeof(lock), sizeof(lock), QSORT_CAST lock_compare);
#endif
tdb_store(tdb, kbuf, dbuf, TDB_REPLACE);